[BUG] Current input is not saved to history
Resolved 💬 2 comments Opened Jan 30, 2026 by smurfix Closed Jan 30, 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?
Claude in the terminal does not remember edited prompts.
This happened to me in a multi-line edit, when I pressed Up once too often by mistake. Owch.
What Should Happen?
Edited prompts should be in the history as-edited, not (or maybe in addition to) as-sent-to-Claude.
Error Messages/Logs
Steps to Reproduce
- Start Claude (terminal)
- enter a few prompts
- go back (cursor-up) and edit one of them, but do not press Enter
- do another cursor-up, then cursor-down (or vice versa)
- your edit is lost
Claude Model
Not sure / Multiple models
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.25 (Claude Code)
Platform
Other
Operating System
Ubuntu/Debian Linux
Terminal/Shell
Other
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗