[BUG] "Ctrl+C to interrupt" message is misleading - Ctrl+C closes the window instead of interrupting (Windows)
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?
The UI displays "Ctrl+C to interrupt" during operations, but pressing Ctrl+C terminates the entire Claude Code window/process instead of interrupting the current operation. Esc works correctly for interrupting. The message is misleading and causes users to accidentally kill their session.
Environment:
- Claude Code version: 2.1.5
- OS: Windows 11
- Terminal: PowerShell (standard Windows Terminal)
Steps to Reproduce:
- Start Claude Code
- Give it a task that takes a while (e.g., searching files, running a build)
- While it's working, note the "Ctrl+C to interrupt" message
- Press Ctrl+C
- The entire window closes instead of just interrupting
Expected behavior: Ctrl+C should interrupt the operation (like Esc does)
Actual behavior: Ctrl+C kills the process entirely
Workaround: Use Esc instead of Ctrl+C
What Should Happen?
Pressing Ctrl+C should interrupt the current operation and return to the prompt, just like Esc does. Alternatively, the message should say "Esc to interrupt" instead of "Ctrl+C to interrupt."
Error Messages/Logs
N/A - No error message is shown. The window simply closes immediately.
Steps to Reproduce
- Start Claude Code
- Give it a task that takes a while (e.g., searching files, running a build)
- While it's working, note the "Ctrl+C to interrupt" message
- Press Ctrl+C
- The entire window closes instead of just interrupting
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.5
Platform
Other
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
No screenshots - the window closes too fast to capture anything. The issue is 100% reproducible. Just press Ctrl+C when Claude is working on any task on Windows.
This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗