Commit c6b5e2b
committed
Fix action enum shift crash from upstream SET_TAB_TITLE
Upstream added GHOSTTY_ACTION_SET_TAB_TITLE at position 33, shifting
all subsequent enum values. Swift/Xcode couldn't import the new value,
causing every action after position 33 to be misinterpreted (e.g.
COMMAND_FINISHED matched as START_SEARCH, crashing on garbage pointer).
Fix: move SET_TAB_TITLE to the end of the C ABI enum so existing
values keep their positions. Handle it via raw value in Swift.1 parent 83c2199 commit c6b5e2b
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2592 | 2592 | | |
2593 | 2593 | | |
2594 | 2594 | | |
2595 | | - | |
| 2595 | + | |
2596 | 2596 | | |
2597 | 2597 | | |
2598 | 2598 | | |
| |||
Submodule ghostty updated from fa0769f to d2358b5
0 commit comments