[Bug] ESC Key Unresponsive After Agent Creation
Bug Description
ESC key doesn't work after successful agent creation
Description
After successfully creating a new subagent using the /agents command, the ESC key becomes non-functional, preventing users from exiting the agent creation interface. This leaves the user stuck in the agents menu with no way
to return to the main Claude Code interface.
Steps to Reproduce
- Open Claude Code
- Run /agents command
- Select "Create new agent"
- Complete the agent creation process
- Agent is successfully created in the .claude/agents folder
- Press ESC to exit the interface
Expected Behavior
ESC key should close the agents menu and return to the main Claude Code chat interface
Actual Behavior
- ESC key doesn't respond
- User remains stuck in the agents interface
- All other navigation keys (↑↓, Enter) continue to work
- Agents are successfully created and visible in .claude/agents project folder
- Only way to exit is to close the terminal or wait for timeout
Environment
- Claude Code version: 1.0.107
- OS: Windows 10
- Terminal: PowerShell / Windows Terminal, Git BASH.
Additional Context
This issue significantly impacts workflow as users cannot smoothly transition back to the main interface after creating agents. The agents themselves are created successfully and function properly - the issue is purely with
the UI navigation.
Workaround
Currently, the only workaround is to close and restart the terminal session.
Environment Info
- Platform: win32
- Terminal: pycharm
- Version: 1.0.107
- Feedback ID: a789b78e-a45a-43cc-bf83-e4a5bb11509e
Errors
[]This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗