[BUG] Claude Code double-Escape to clear prompt causes CLI to hang on macOS
Status Open
Reported on v2.1.220
Maintainer reply None cached
Activity 0 comments · opened Aug 3, 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?
Double-Escape to clear a Prompt causes Claude Code to freeze.
What Should Happen?
Claude should clear prompt when pressing Double-Escape.
Error Messages/Logs
Steps to Reproduce
- Type a prompt in Claude Code in VS Code
- Press Esc twice to clear the prompt
- Claude Code freezes and can be exited only by pressing Ctrl+C
Claude Model
Not sure / Multiple models
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.220
Platform
Other
Operating System
macOS
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_