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]: Escape key should focus the prompt input field in Desktop #30887
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
In Codex Desktop, pressing the Escape key at any time focuses the typing/input field. This is a very convenient UX pattern: regardless of where focus currently is (message list, sidebar, etc.), a single Esc press brings focus back to the prompt so you can immediately start typing.
OpenCode Desktop does not currently support this. When focus is elsewhere (e.g. after scrolling through the conversation), there is no quick keyboard shortcut to return to the input field — you have to click it with the mouse.
Desired behavior: Pressing Escape in OpenCode Desktop should move focus to the prompt input field, so the user can start typing immediately. This matches the Codex Desktop convention.
Use case: During a long conversation, the user scrolls up to read previous messages. Instead of having to click the input box to continue, they simply press Esc and start typing.
Related: #17268 mentions that the Web/Desktop version already has input.focus bound to Ctrl+L in use-session-commands.tsx, but notes the TUI lacks an equivalent. This feature request is specifically about making Escape the shortcut for this in Desktop, matching the Codex Desktop convention.
Activity
github-actions commentedon Jun 5, 2026
For keybind-related issues, please also check our pinned keybinds documentation: #4997
This issue might also be related to an existing request for the TUI surface covering the same concept (re-focusing the input). Please check:
claell commentedon Jun 5, 2026
Related: #17268 mentions that the Web/Desktop version already has
input.focusbound toCtrl+Linuse-session-commands.tsx, but notes the TUI lacks an equivalent. This feature request is specifically about makingEscapethe shortcut for this in Desktop, matching the Codex Desktop convention.github-actions commentedon Aug 5, 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.