[BUG] Input not cleared after message submission
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?
After submitting a message in the Claude Code console, the input field is not cleared. The previously submitted text remains in the input box, requiring manual deletion before typing a new message.
Actual behavior: Input field retains the previously submitted message.
it seems like there was same problem that is marked as resolved https://github.com/anthropics/claude-code/issues/27266 but it was like this for me for 2 weeks and I update claude daily
What Should Happen?
Input field is cleared after submission.
Error Messages/Logs
Steps to Reproduce
- Open Claude Code in the terminal
- Type a message and press Enter/submit
- Observe that the input field still contains the submitted text
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.76
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
I also tried with Intellij-idea v: 253.31033.145 (both reworked and classic engines)
and with iTerm2 (no version cause I deleted it for not working anyways)
6 Comments
Also
Ctrl+Cclears the input but stops execution (so / commands typed mid-session are hard to use without triggering a cancel)Found 2 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
I mentioned that other issue, but it is (a) on linux not mac; and (b) marked as resolved, while I still experience issue.
Same issue here, but on Windows. Opened #38874 with details.
This has been happening for over a month across every terminal (VS Code, Cursor, Windows Terminal, PowerShell). Still broken on v2.1.83.
The previous "fix" in v2.1.5 clearly didn't resolve this — not on macOS (as you reported) and not on Windows either. Really hoping this gets proper attention, it's incredibly annoying to use daily.
Environment: Windows 11 Home 10.0.26200 · Claude Code v2.1.83 · Claude Max (Opus)
I made it work by removing
claude-code-keybindings.jsonfile; openned #48023 with all the detsThis 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.