Commit 4cb167c
fix(tui): prevent question tool keybindings when dialog is open
The QuestionPrompt component captures H/L keys for tab navigation,
which conflicts with typing in the command palette when opened via
Ctrl+P. This change adds a guard to skip keyboard event processing
when a dialog is open, following the established pattern used in
dialog-command.tsx.
Fixes anomalyco#8118
Co-Authored-By: Claude <[email protected]>1 parent afb8a0d commit 4cb167c
File tree
1 file changed
+3
-0
lines changed- packages/opencode/src/cli/cmd/tui/routes/session
1 file changed
+3
-0
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
124 | 127 | | |
125 | 128 | | |
126 | 129 | | |
| |||
0 commit comments