[PR #10338] fix: permission prompt should ignore keyboard events while dialog stack len > 0 #13409

Closed
opened 2026-02-16 18:18:16 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/10338

State: closed
Merged: Yes


What does this PR do?

How did you verify your code works?

Manually tested all combinations of permission prompt being open, including the subagent rejection prompt, then opening the command palette, using keys that the permission prompts would react to, potentially changing settings or opening other dialogs such as the "connect a provider".

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/10338 **State:** closed **Merged:** Yes --- ### What does this PR do? - Fixes #10286 (using exact same pattern as https://github.com/anomalyco/opencode/blob/af5e405391efa8ca16fe81159422457e858c3a20/packages/opencode/src/cli/cmd/tui/routes/session/question.tsx#L122-L126) ### How did you verify your code works? Manually tested all combinations of permission prompt being open, including the subagent rejection prompt, then opening the command palette, using keys that the permission prompts would react to, potentially changing settings or opening other dialogs such as the "connect a provider".
yindo added the pull-request label 2026-02-16 18:18:16 -05:00
yindo closed this issue 2026-02-16 18:18:16 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13409