You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: Double-ESC should cancel the running turn and submit any draft messages #26748
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Today, redirecting opencode mid-turn takes too many keystrokes:
See it going the wrong way
Type a correction and hit Enter — lands as a draft, waiting for the current turn
Double-ESC to cancel the running turn
Draft is still sitting there, doesn't get sent
Up to recall it
Enter to submit
Proposal: if there are draft messages waiting when double-ESC fires during an active turn, cancel the turn and submit the drafts as the next prompt. If no drafts, double-ESC behaves as it does today.
Claude Code does the equivalent on a single ESC and it's a noticeably tighter loop for steering long-running tasks.
Related but distinct from the broader queue/interrupt threads (#5333, #16102, #21388) — this is just about what happens to drafts at the moment of cancel.
Activity
github-actions commentedon May 10, 2026
For keybind-related issues, please also check our pinned keybinds documentation: #4997
martinffx commentedon May 11, 2026
@simonklee is this something I can do a PR for or do the core team need to have a look at first?
It's a small change but big QoL change.
github-actions commentedon Jul 11, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.