SIGN IN SIGN UP
ghostty-org / ghostty UNCLAIMED

👻 Ghostty is a fast, feature-rich, and cross-platform terminal emulator that uses platform-native UI and GPU acceleration.

0 0 0 Zig

macOS: fix incorrect delete symbol mapping (#12011)

`GHOSTTY_KEY_DELETE` should be mapped to `KeyEquivalent.deleteForward`.
This fixes the correct symbol showing in the menu. Previously, both
`GHOSTTY_KEY_DELETE` and `GHOSTTY_KEY_BACKSPACE` were showing `⌫`, but
`GHOSTTY_KEY_DELETE` only worked for `fn+delete`.

Add the following keybind and observe the symbol in the menu:
```
keybind=delete=new_tab
```

<img width="535" height="318" alt="image"
src="https://github.com/user-attachments/assets/67ed7b5d-f848-42ee-a382-fe364d86cb2c"
/>
M
Mitchell Hashimoto committed
f140b1463fc7f0d5a3d84d09663d90ea31c2ea85
Committed by GitHub <[email protected]> on 3/31/2026, 1:38:25 PM