Escape key to interrupt response not working in some sessions
Description
The Escape key to interrupt Claude's response does not work consistently across sessions. The UI shows "Esc to interrupt" during the thinking/response phase, but pressing Escape has no effect in some sessions while working correctly in others.
Steps to Reproduce
- Start a Claude Code session
- Ask Claude a question that triggers a lengthy response
- While Claude is responding (thinking indicator shows "Esc to interrupt"), press Escape
- Expected: Response stops immediately
- Actual: In some sessions, nothing happens - Escape is ignored
Environment
- Platform: macOS (Darwin 25.1.0)
- The issue appears session-specific - Escape works in some threads but not others within the same terminal
Workaround
Using Ctrl+C successfully interrupts the response, but this is inconsistent with the UI hint showing "Esc to interrupt".
Additional Context
User reported that double-Escape (for rewind) also did not trigger, suggesting Escape key events may not be reaching Claude Code in affected sessions.
🤖 Generated with Claude Code
Found 3 possible duplicate issues:
- https://github.com/anthropics/claude-code/issues/11803
- https://github.com/anthropics/claude-code/issues/13707
- https://github.com/anthropics/claude-code/issues/10618
This issue will be automatically closed as a duplicate in 3 days.
- If your issue is a duplicate, please close it and 👍 the existing issue instead
- To prevent auto-closure, add a comment or 👎 this comment
🤖 Generated with Claude Code
This issue has been automatically closed as a duplicate of #11803.
If this is incorrect, please re-open this issue or create a new one.
🤖 Generated with Claude Code
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.