[BUG]
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Environment
Claude Code: 2.1.233
Terminal: Ghostty 1.3.1 (TERM=xterm-ghostty, TERM_PROGRAM=ghostty)
OS: macOS 26.4.1 (Darwin 25.4.0)
Shell: zsh
Not running tmux or screen
No ~/.claude/keybindings.json, editorMode is default (not vim), classic TUI (not fullscreen), no screen-reader mode
Description
In the /permissions dialog, the selection cursor cannot be moved at all. Pressing Down arrow does nothing — no row highlight ever moves, so "Add a new rule…" (row 1) and the rest of the rule list are unreachable. Tab also does nothing. The footer says "←/→ to switch · ↓ to select · Esc to cancel"; Esc works (dialog closes) and the dialog renders normally otherwise.
This has been broken consistently for several weeks, across many sessions and Claude Code updates, in this and other projects. Arrow keys work fine in the main Claude Code prompt (history navigation) in the same terminal.
Steps to reproduce
macOS + Ghostty 1.3.1, start claude in any project.
Type /permissions → the Permissions dialog opens on the Allow tab.
Press Down arrow (or Tab) to select "Add a new rule…".
Expected
Selection moves down the list; "Add a new rule…" can be reached and activated with Enter.
Actual
No response to Down arrow or Tab. No way to select or add a rule from the dialog. Esc still closes it.
Suspected cause
Ghostty speaks the Kitty keyboard protocol; the main prompt input handles it, but this dialog's key handling appears not to decode the arrow/Tab key events Ghostty emits. (No tmux, no TERM weirdness, no custom keybindings — those were ruled out.)
Workaround found
Running claude inside Terminal.app instead of Ghostty, or editing .claude/settings.local.json by hand.
What Should Happen?
See above
Error Messages/Logs
Steps to Reproduce
See above
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.233
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_