[BUG] Claude Code deletes what I'm typing to ask me for feedback on the current session
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 was typing a long multi-paragraph message (which I will never do directly in the CLI again), before I pressed enter to send it, Claude interrupted me to ask for feedback on how the current session is going. I selected "0" for dismiss, and what I was typing disappeared and could not be recovered by pressing arrow or inspecting the command history. The multiple paragraphs were lost and unrecoverable.
What Should Happen?
Claude shouldn't forget or delete carefully written paragraphs from the user to ask for feedback, or really ever, unless the user presses Ctrl-K or similar.
Error Messages/Logs
Steps to Reproduce
- Start typing a few paragraphs, but don't submit yet
- Have bad luck
- Claude asks you for feedback on the current session (choices are 0, 1, 2 or 3)
- You type "0" for dismiss
- Your paragraphs are gone
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.0.2 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗