[BUG] On VSCode extension, pressing the Esc or the stop button is ignored most of the time.
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?
When i press Esc or Stop button, the model just ignores it ande keeps processing. sometimes its done 5 or 6 more steps and a minute later before it stops. It seems to also not be injecting new messages from me until the end of whatever its doing which means its doing stuff i don't want it to do.
I see changes from 2.0.41 which suggest that something was changed in the Esc behaviour so maybe this is a side effect from that
What Should Happen?
Claude should stop what its doing and read the new instructions
Error Messages/Logs
Steps to Reproduce
ask it to do something
while its thinking press escape
it keeps on going for a while longer
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.0.37
Claude Code Version
2.0.42 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗