[BUG] Input text not cleared after sending message (regression between 2.1.45 and 2.1.47)
Resolved 💬 3 comments Opened Feb 20, 2026 by arki-code Closed Feb 23, 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?
After submitting a prompt, the input text remains in the text field instead of being cleared.
The message is sent and processed correctly, but the input must be manually cleared before typing the next prompt.
Additionally, Enter occasionally inserts a newline instead of submitting.
Workaround: Ctrl+Z → fg → Enter sends the message, but input still persists.
What Should Happen?
The input field should be cleared after a message is successfully sent.
Error Messages/Logs
Steps to Reproduce
- Launch
claudein a terminal (VSCode integrated or Kitty) - Type a message and press Enter
- Message is sent and processed, but input field still contains the previous text
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.1.45
Claude Code Version
2.1.49
Platform
Anthropic API
Operating System
Other Linux
Terminal/Shell
VS Code integrated terminal
Additional Information
- 2.1.45 : OK — input clears correctly
- 2.1.47 : BUG — input persists after submit
- 2.1.49 : same
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗