Stash (ctrl+s) should integrate with prompt history instead of single-slot storage
Resolved 💬 3 comments Opened Jan 25, 2026 by lennygatorsandghosts Closed Jan 29, 2026
Current Behavior
ctrl + s stashes the current input to a single slot. If you stash again before retrieving, it overwrites the previous stash.
Suggested Improvement
Instead of a separate single-slot stash, add the stashed input to the prompt history (accessible via up/down arrow keys).
Why This Would Be Better
- Multiple stashes for free - History already supports multiple entries
- Familiar pattern - Users already know up/down arrow from shell history
- More discoverable - People instinctively try arrow keys
- Simpler mental model - One history mechanism instead of two separate systems
Potential Concern
The current design might intentionally separate submitted prompts (history) from unsubmitted drafts (stash). But in practice, the convenience of a unified approach likely outweighs this distinction.
Reproduction
- Type something, press
ctrl + sto stash - Type something else, press
ctrl + sagain - Previous stash is lost (overwritten)
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗