Skip to content

Permission prompt intercept keyboard inputs when a dialog is open #10286

@tomzhu1024

Description

@tomzhu1024

Description

The permission prompts still intercept and respond to keyboard inputs when a dialog is open. For example, in the following video, the permission prompt in the back will still intercept keyboard inputs like "L", "LEFT", "ENTER" while the command dialog is open -- so you can't type "L" or move cursor in the search bar, also, pressing "ENTER" will not only trigger the command but also trigger the action on the permission prompt.

Plugins

N/A

OpenCode version

1.1.34

Steps to reproduce

  1. Change the permission "edit": "ask"
  2. Ask the model to edit a file
  3. Leave the permission prompt untouched
  4. Open "command dialog" with "Ctrl+P"
  5. Type "L" in the search bar --> unable
  6. Press "ENTER" on one item --> trigger the permission prompt

Screenshot and/or share link

Screen.Recording.2026-01-23.at.1.43.18.PM.mov

Operating System

macOS 26.2

Terminal

iTerm2

Metadata

Metadata

Assignees

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