opencode
opencode copied to clipboard
feat(tui): cancel queued messages with history_previous
Summary
- Allow canceling queued messages with history_previous keybind (default: UP) when prompt is empty
- Pulls the queued message back into the prompt for editing
Why
- Similar to Claude Code behavior where hitting UP on a queued message pulls it out of queue
Relates to #4821 (https://github.com/sst/opencode/issues/4821#issuecomment-3615294626)