[BUG] Opening and closing agents screen makes CC close abruptly
Resolved 💬 2 comments Opened Jun 3, 2026 by 381sm016 Closed Jun 7, 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?
When I double press ← for agents it opens the screen, then pressing escape briefly brings back the main chat and then closes CC.
What Should Happen?
CC main session should open again and not close
Error Messages/Logs
n/a
Steps to Reproduce
- double press ←
- press ESC and close agents
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.161
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Windows Terminal
Additional Information
<img width="704" height="145" alt="Image" src="https://github.com/user-attachments/assets/31fec801-5e49-4a30-b76c-c3df4299e672" />
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗