[BUG] Cannot exit /config settings screen — Esc key does not work
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?
Bug Description
After entering the /config settings screen, there is no way to exit back to the normal prompt. The Esc key does not close the settings screen — it only clears the search filter text (as indicated by the footer: "Type to filter · Enter/↓ to select · Esc to clear").
Steps to Reproduce
Open Claude Code in the terminal
Type /config to open the settings screen
Browse settings normally (Tab works to switch between Status/Config/Usage tabs)
Try to exit the settings screen by pressing Esc
Settings screen remains open — unable to return to the normal prompt
Keys Attempted (All Failed)
Esc — only clears search filter, does not exit
q — no effect
Ctrl + C — no effect
Ctrl + D — no effect
Ctrl + Z — no effect
Selecting an item with Enter then pressing Esc — no effect
What Works
Tab / ← / → — switches between Status, Config, Usage tabs (works normally)
Enter / ↓ — selects items (works normally)
Search filtering works normally
Expected Behavior
Pressing Esc (or some other key) should close the /config settings screen and return to the normal Claude Code prompt, preserving the current conversation.
Actual Behavior
There is no way to exit the settings screen. The only workaround is to close and reopen the terminal, which loses the current session.
Environment
Claude Code version: Latest (up to date via npm update -g @anthropic-ai/claude-code)
OS: (please fill in your OS, e.g., macOS 15.x / Ubuntu 24.04 / Windows 11)
Terminal: (please fill in your terminal, e.g., iTerm2 / Terminal.app / Windows Terminal)
Model: Default (recommended) — Opus 4.6
What Should Happen?
Pressing Esc on the /config settings screen should close the settings and return to the normal Claude Code prompt, preserving the current conversation. Users should not have to restart the terminal just to exit settings.
Error Messages/Logs
No error messages are displayed. The settings screen simply stays open and does not respond to any exit key combinations (Esc, q, Ctrl+C, Ctrl+D, Ctrl+Z). The only way to return to normal operation is to close and reopen the terminal, which loses the current session.
Steps to Reproduce
- Open Claude Code in the terminal
- Type
/configto open the settings screen - Try to exit by pressing
Esc - Settings screen remains open — no way to return to the prompt
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
Claude Opus 4.6
Claude Code Version
2.1.37
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
_No response_
This issue has 10 comments on GitHub. Read the full discussion on GitHub ↗