[Bug] Option+Delete (word deletion) not working in Ghostty
Resolved 💬 8 comments Opened Jan 8, 2026 by funclosure Closed Apr 2, 2026
Option+Delete (for deleting word backwards) is not working within Claude Code. This keybinding works correctly in the regular Ghostty shell outside of Claude Code.
Environment:
- Claude Code version: 2.1.1 (Homebrew)
- Terminal: Ghostty
- OS: macOS (Darwin 25.0.0)
- Install method: Homebrew (/opt/homebrew/bin/claude)
Expected behavior:
Option+Delete should delete the word before the cursor (standard macOS text editing behavior).
Actual behavior:
The key combination does nothing or is being captured/ignored by Claude Code.
Workaround:
Alt+Backspace or Ctrl+W may work as alternatives.
Notes:
- Option+Left/Right (word navigation) works correctly after 2.1.0 fix
- Option+B/F also work for word navigation
- /terminal-setup is not available in Ghostty (hidden because Ghostty has "native support")
- The issue is specific to Claude Code - works fine in regular shell
This issue has 8 comments on GitHub. Read the full discussion on GitHub ↗