Skip to content

Pressing Esc when a modal pane (Ctrl-p, etc) is open will interrupt the LLM #3921

Closed

Description

@markjaquith

Description

If I press Ctrl-p and then press Esc (to dismiss the modal pane), the LLM quits with "The operation was aborted."

OpenCode version

1.0.23

Steps to reproduce

  1. Start an LLM task.
  2. While it is still running, press Ctrl-p
  3. While it is still running, press Esc

Note that pane was dismissed, but:

The operation was aborted.

Screenshot and/or share link

No response

Operating System

macOS

Terminal

Ghostty

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 4, 2025
  2. arsham commented on Nov 5, 2025

    @arsham

    A double escape would be much safer to cancel any operations. I've hit the escape multiple times by accident since I have mapped the caps lock to escape and control keys.

  3. thdxr commented on Nov 5, 2025

    @thdxr
    Member

    i think we fixed this issue but will bring back double escape seperately

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions