Skip to content

[FEATURE]: Double-ESC should cancel the running turn and submit any draft messages #26748

Closed as not planned

Description

@martinffx

Feature hasn't been suggested before.

  • 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:

  1. See it going the wrong way
  2. Type a correction and hit Enter — lands as a draft, waiting for the current turn
  3. Double-ESC to cancel the running turn
  4. Draft is still sitting there, doesn't get sent
  5. Up to recall it
  6. 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

  1. github-actions commented on May 10, 2026

    @github-actions
    Contributor

    For keybind-related issues, please also check our pinned keybinds documentation: #4997

  2. martinffx commented on May 11, 2026

    @martinffx
    Author

    @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.

  3. github-actions commented on Jul 11, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions