claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

Escape key to interrupt response not working in some sessions

Open Latigid-Sam opened this issue 11 months ago • 1 comments

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

  1. Start a Claude Code session
  2. Ask Claude a question that triggers a lengthy response
  3. While Claude is responding (thinking indicator shows "Esc to interrupt"), press Escape
  4. Expected: Response stops immediately
  5. 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

Latigid-Sam avatar Dec 18 '25 21:12 Latigid-Sam

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/11803
  2. https://github.com/anthropics/claude-code/issues/13707
  3. 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

github-actions[bot] avatar Dec 18 '25 21:12 github-actions[bot]

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

github-actions[bot] avatar Dec 22 '25 09:12 github-actions[bot]

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.

github-actions[bot] avatar Dec 29 '25 14:12 github-actions[bot]