option+delete (delete word backward) broken on Ghostty since v2.1.91
Resolved 💬 4 comments Opened Apr 3, 2026 by sliamh11 Closed May 12, 2026
Description
option+delete no longer deletes the previous word in the chat input — it deletes a single character instead. This is a regression in v2.1.91, likely introduced by the cmd+delete fix listed in the changelog:
Fixed cmd+delete not deleting to start of line on iTerm2, kitty, WezTerm, Ghostty, and Windows Terminal
Steps to reproduce
- Open Claude Code v2.1.91 in Ghostty
- Type a multi-word prompt (e.g. "hello world foo bar")
- Press
option+delete - Expected: deletes "bar" (last word)
- Actual: deletes a single character ("r")
Environment
- Claude Code: 2.1.91
- Terminal: Ghostty
- OS: macOS (Apple Silicon)
Verification
- Tested on v2.1.90:
option+deletecorrectly deletes the last word - Tested on v2.1.91:
option+deleteonly deletes a single character cmd+delete(delete to start of line) works correctly on both versions — onlyoption+deleteis affected- Works fine in the regular terminal shell outside of Claude Code
The v2.1.91 changelog's cmd+delete fix touched delete key handling for Ghostty, which likely regressed option+delete.
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗