[FEATURE]:Add consistent ESC key support to close all popup dialogs #7593

Open
opened 2026-02-16 18:07:41 -05:00 by yindo · 2 comments
Owner

Originally created by @photkey on GitHub (Jan 26, 2026).

Originally assigned to: @kommander on GitHub.

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

Currently, popup windows like the settings dialog lack proper ESC key support for closing. Users can only close these windows by clicking outside the dialog area, which breaks keyboard workflow - especially when dialogs are opened via keyboard shortcuts.

Originally created by @photkey on GitHub (Jan 26, 2026). Originally assigned to: @kommander on GitHub. ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request Currently, popup windows like the settings dialog lack proper ESC key support for closing. Users can only close these windows by clicking outside the dialog area, which breaks keyboard workflow - especially when dialogs are opened via keyboard shortcuts.
yindo added the opentuidiscussion labels 2026-02-16 18:07:41 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 26, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #7384: TUI Commands modal passes Esc key through to the model - directly related to ESC key handling in dialogs
  • #10286: Permission prompt intercept keyboard inputs when a dialog is open - covers keyboard input issues with dialogs
  • #3455: Make permissions dialog non-blocking and add modifier key shortcuts - requests improved keyboard support for permission dialogs

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

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 26, 2026): This issue might be a duplicate of existing issues. Please check: - #7384: TUI Commands modal passes `Esc` key through to the model - directly related to ESC key handling in dialogs - #10286: Permission prompt intercept keyboard inputs when a dialog is open - covers keyboard input issues with dialogs - #3455: Make permissions dialog non-blocking and add modifier key shortcuts - requests improved keyboard support for permission dialogs Additionally, for keybind-related issues, please also check our pinned keybinds documentation: #4997 Feel free to ignore if none of these address your specific case.
Author
Owner

@photkey commented on GitHub (Jan 26, 2026):

To clarify, I meant OpenCode Desktop.

@photkey commented on GitHub (Jan 26, 2026): To clarify, I meant OpenCode Desktop.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7593