[BUG] Control-c stopping claude prior to clearing input text

Resolved 💬 12 comments Opened Jan 12, 2026 by banagale Closed Feb 28, 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?

Previously, you could hit control-c and it would clear the input prior to stopping the agent. Same with escape.

Now when you do this, it stops claude unexpectedly, and then you can clear text then you have to tell claude oops continue

What Should Happen?

It should only stop claude if the input box is already clear, and then another time wouold trigger an exit to shell

Error Messages/Logs

Steps to Reproduce

  1. get claude to start doing something
  2. type some text
  3. hit control-c while claude is still "bopping..." or whatever
  4. claude stops unexpectedly, rather than clearing input.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

1.96

Claude Code Version

2.1.5

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

iTerm2

Additional Information

_No response_

View original on GitHub ↗

This issue has 12 comments on GitHub. Read the full discussion on GitHub ↗