Repository navigation
Commit b70b2fa
Fix Option+Backspace word deletion in Ghostty
Add 'backspace' to default input_delete_word_backward keybinding to support
terminals like Ghostty where Option+Backspace sends the same sequence as
regular backspace (DEL/0x7f).
This enables Option+Backspace to work in Ghostty, though it means regular
backspace will also delete words in such terminals. This is a necessary
tradeoff for compatibility with terminals that don't distinguish between
Option+Backspace and regular backspace.
Keybindings now include: ctrl+w, ctrl+backspace, alt+backspace, backspace
Note: Kitty keyboard protocol approach was tested but Ghostty does not
use CSIu encoding for Option+Backspace, so this simpler keybinding
approach is used instead.
Closes anomalyco#33641 parent 5be679f commit b70b2fa
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
| 149 | + | |
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
545 | 545 | | |
546 | 546 | | |
547 | 547 | | |
548 | | - | |
| 548 | + | |
549 | 549 | | |
550 | 550 | | |
551 | 551 | | |
| |||
0 commit comments