Hacker News new | ask | show | jobs
by xmpirate 267 days ago
I wish there were an option to cancel a currently running prompt midway. Right now, pressing Ctrl+C twice ends up terminating the entire session instead.
4 comments

Wait, doesn't hitting Escape do this already?
I'm always watching Claude Code as it runs, ready to hit the Escape key as soon as it goes off the rails. Sometimes it gets stuck in a cul de sac, or misunderstands something basic about the project or its structure and gets off on a bad tangent. But overall I love CC.
Adding to the press Esc comments, if you press it twice, you can revert to previous messages in the current conversation.
press escape