Skip to content

feat(prompt): undo queued prompts back into the input - #51124

Merged
vimtor merged 8 commits into
v2from
queue-move-back
Sep 25, 2026
Merged

vimtor merged 8 commits into
v2from
queue-move-back

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Add Undo to queued prompts so a queued prompt can be pulled back into the input for editing.
  • Full TUI and Mini: ctrl+u (queued_prompt.undo) in the queued prompts picker, listed next to delete.
  • App: icon-only Undo button on queued rows (tooltip + accessible name), between Steer and Remove.
  • If the input already has text, the prompt is appended after a blank line instead of replacing the draft, so several prompts can be undone in a row. File/agent/skill mentions, pasted blocks and image attachments keep their positions.
  • Undo is refused only while in shell mode with text typed. The app also keeps prompts with hidden file context in the queue rather than dropping that context.
  • Input is read-only while the cancel is pending so typing can't be overwritten.

Requested by: @vimtor (victor via Slack)

@vimtor vimtor changed the title feat(prompt): move queued prompts back to input feat(prompt): undo queued prompts back into the input Sep 25, 2026
@vimtor
vimtor merged commit beeb14e into v2 Sep 25, 2026
8 checks passed
@vimtor
vimtor deleted the queue-move-back branch September 25, 2026 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant