[FEATURE] "Stash" input to temporarily park a half-written prompt
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
## Problem
When writing a prompt in Claude Code's input field, there's no way to temporarily
save it, run a different command, and then come back to it.
Current workarounds are all friction-heavy:
Cmd+Aselects the entire terminal window, not just the input fieldCtrl+U/Ctrl+Kcut to the terminal kill buffer (not the system clipboard),
and are easy to accidentally overwrite
- Mouse-selecting the input text and copying manually works but is fiddly
- Opening a second terminal tab is the most reliable workaround but requires
extra context switching
Proposed Solution
## Proposed Solution
A "stash input" keyboard shortcut (analogous to git stash) that:
- Saves the current in-progress prompt to a temporary buffer
- Clears the input so you can type and submit something else
- Restores the stashed prompt with a second shortcut ("unstash")
A single-level stash (last stash wins) would cover the majority of use cases.
Alternative Solutions
## Simpler Alternative
Fix Cmd+A (or provide an equivalent shortcut) to select only the text in the
active input field rather than the entire terminal window.
Priority
Critical - Blocking my work
Feature Category
CLI commands and flags
Use Case Example
This is a natural part of the writing flow — you're mid-thought on a complex
prompt, remember you need to check something first, and want to briefly
context-switch without losing your work. Right now there's no clean way to do it.
Additional Context
_No response_
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗