Feature request: add a dedicated draft stash shortcut in the TUI

Resolved 💬 3 comments Opened Apr 15, 2026 by vltansky Closed Apr 15, 2026

What variant of Codex are you using?

CLI (Rust TUI)

What feature would you like to see?

Add a dedicated draft stash shortcut in the TUI so I can temporarily clear the composer and later restore the exact same draft without going through normal history navigation.

A concrete behavior that would work well:

  • Press Ctrl+S to stash the current draft into a dedicated slot and clear the composer
  • Press Ctrl+S again while the composer is empty to restore that exact draft
  • Keep this separate from normal prompt history and separate from Ctrl+C
  • Show a visible composer-state indicator after stashing, for example: › Stashed (auto-restores after submit)

The stashed draft should preserve the full composer state, not just plain text. In particular it would be useful to preserve:

  • text
  • placeholders / structured text elements
  • local image attachments
  • remote image URLs
  • pending large-paste payloads
  • mention bindings

Additional information

Today the closest workaround is Ctrl+C followed by history recall, but that is slower and mixes a temporary draft-management action with normal prompt history.

The indicator matters because otherwise it is easy to forget that a draft is parked somewhere. Something lightweight in the composer area like › Stashed (auto-restores after submit) would make the state obvious without getting in the way.

I searched for similar issues and found related slash-popup / draft-history issues, but not this specific stash feature request. This seems especially useful when a user needs to quickly park an in-progress prompt, run a command, or inspect something else in the session, then return to the exact draft later.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗