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
desktop: toggle-terminal shortcut opens the terminal but leaves focus in the prompt box #57536
In the desktop app, the toggle-terminal shortcut opens the terminal but leaves keyboard focus in the prompt box, so whatever you type next lands in the prompt instead of the terminal.
Thanks for the clear report, @okbytes. I couldn't reproduce this here: it needs the macOS desktop app, and this sandbox only runs Linux. On macOS the toggle-terminal shortcut goes through the app's native View menu instead of the in-page key handler the web UI uses, so testing it in a browser wouldn't be the same path. The code clearly means to focus the terminal when it opens, so this needs a maintainer with a Mac to confirm. One thing that would help: does choosing View → Toggle Terminal from the menu bar with the mouse behave the same way as the shortcut?
Related: #55992 (terminal left unfocused after rapid toggling in the web UI, a different trigger).
Same exact issue in menu bar triggering. Of note, this is explicitly when the focus is in the prompt box. I opened an old thread to test this and hadn't clicked into the prompt box and the menu bar trigger put the focus in there correctly.
This was fixed by #57980. That PR merged into the beta branch, so GitHub didn't close this issue automatically. The fix will be in the next release. Closing as completed.
Activity
opencode-agent commentedon Oct 20, 2026
Thanks for the clear report, @okbytes. I couldn't reproduce this here: it needs the macOS desktop app, and this sandbox only runs Linux. On macOS the toggle-terminal shortcut goes through the app's native View menu instead of the in-page key handler the web UI uses, so testing it in a browser wouldn't be the same path. The code clearly means to focus the terminal when it opens, so this needs a maintainer with a Mac to confirm. One thing that would help: does choosing View → Toggle Terminal from the menu bar with the mouse behave the same way as the shortcut?
Related: #55992 (terminal left unfocused after rapid toggling in the web UI, a different trigger).
okbytes commentedon Oct 21, 2026
Same exact issue in menu bar triggering. Of note, this is explicitly when the focus is in the prompt box. I opened an old thread to test this and hadn't clicked into the prompt box and the menu bar trigger put the focus in there correctly.
Tarquinen commentedon Oct 26, 2026
This was fixed by #57980. That PR merged into the
betabranch, so GitHub didn't close this issue automatically. The fix will be in the next release. Closing as completed.— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊