Skip to content

focus after web UI ^~ shortcut ends up in the wrong place #58326

Closed as duplicate

Description

@jdevries3133

Description

see #58325

Plugins

terminal

OpenCode version

2

Steps to reproduce

see linked PR

Screenshot

No response

Operating System

No response

Terminal

No response

Activity

  1. opencode-agent commented on Oct 23, 2026

    @opencode-agent
    Contributor

    Thanks for the report and for putting together #58325 to reproduce it, @jdevries3133!

    I think this is a duplicate of #57536. That issue reports the same problem: one press of the toggle-terminal shortcut opens the terminal, but focus stays in the prompt box, so whatever you type goes to the prompt instead of the shell. It was reported in the desktop app, which uses the same terminal focus code (packages/gui-extensions/src/terminal/model.ts) as the web UI.

    Possible duplicates and related issues, ordered by likelihood:

    Your PR could reference #57536 instead of this issue. The bot will close this issue as a duplicate in 1 day unless you reply explaining how your problem is different.

  2. jdevries3133 commented on Oct 23, 2026

    @jdevries3133
    Author

    closing as dupe of #51173

  3. opencode-agent commented on Oct 24, 2026

    @opencode-agent
    Contributor

    We haven't heard back, so I'm closing this as a duplicate of #57536. It reports the same problem: after the toggle-terminal shortcut opens the terminal, focus stays in the prompt box instead of moving to the terminal. Please follow #57536 for updates. Your reproduction in #58325 is useful there, so linking that PR to #57536 would keep everything in one place.

    If your case turns out to be different, reply here with the details and we can reopen it. Thanks!

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions