[BUG] Typing an "n" in the input of "new permission" dialog exits it
Status Fixed / completed
Reported on v2.1.7
Maintainer reply None cached
Workaround ✓ Mentioned in thread ↓
Activity 3 comments · opened Jan 13, 2026 · closed Jan 27, 2026
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?
- I run
/permissions - Press twice the right arrow to select "Deny"
- Press <kbd>Enter</kbd> to "Add a new rule..."
- Start typing
Bash(ansible-playbook:*)but just as I type thenletter, it exits the dialog. Typingnright away has the same effect
What Should Happen?
It should let me enter the command without exiting the dialog unless I press <kbd>Esc</kbd>.
Error Messages/Logs
Steps to Reproduce
- Run
claude - Type
/permissionsand <kbd>Enter</kbd> - Press <kbd>Enter</kbd> to "Add a new rule..." (the bug happens with any permission type: Allow/Ask/Deny/Workspace)
- Type <kbd>n</kbd>
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.7
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
Other
Additional Information
- I use the Terminator (version 2.1.3) terminal app on Ubuntu 24.04.3 (update: same issue with Ghostty 1.2.3)
- Screencast: https://github.com/user-attachments/assets/f6b2d757-0209-4550-af3a-18120c1ab3bc
- Issue reproduced in Claude Code 2.1.6 and 2.1.7
- Issue not reproducible in Claude Code 2.1.9 on macOS with iTerm
3 Comments
Additional Report - Same Issue on Different Environment
I'm experiencing the same issue with the letter "n" not being typeable in the marketplace search.
### Environment Details
| Field | Value |
|-------|-------|
| Claude Code Version | 2.1.9 |
| Platform | macOS (Darwin 24.6.0) |
| Terminal | Terminal.app (macOS) |
| Claude Model | Opus |
| API | Anthropic API |
### Steps to Reproduce
/plugincommand in Claude Code### Observed Behavior
The letter "n" appears to be captured by a keybinding (possibly for navigation like "next item") instead of being entered as text input.
### Workaround
claude plugin marketplace add anthropics/skills)Seems fixed: https://github.com/anthropics/claude-code/issues/18180#issuecomment-3800732463
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.