[BUG] Lost unsent message
Resolved 💬 4 comments Opened Jun 30, 2025 by savchenko Closed Jan 5, 2026
Environment
- Platform (select one):
- [x] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: 1.0.35 (Claude Code)
- Operating System: Debian Linux 13
- Terminal: foot
Bug Description
Accidentally pressing <kbd>Up</kbd> with cursor on top line of unsent message results in the message loss.
Steps to Reproduce
- Start typing an elaborate instruction in a long chat
- Position cursor on the first line
- Press <kbd>Up</kbd>
- Despair
Expected Behavior
The message is preserved.
Actual Behavior
The message is lost.
Additional Context
Might consider requiring <kbd>Shift+Up</kbd> or similar to go back if text input is non-empty.
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗