From e38e24f74392d48059d9efb719278d2e5d564c4f Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 30 Mar 2026 12:24:41 +0000 Subject: [PATCH] fix: remove invalid alt/meta properties from KeyEvent check KeyEvent only has ctrl, not alt or meta. Simplify the modifier check. https://claude.ai/code/session_011xS58qyP1BjcuCrJcWPxQB --- packages/opencode/src/cli/cmd/tui/ui/dialog-select.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/opencode/src/cli/cmd/tui/ui/dialog-select.tsx b/packages/opencode/src/cli/cmd/tui/ui/dialog-select.tsx index ece0d59399..71843657ee 100644 --- a/packages/opencode/src/cli/cmd/tui/ui/dialog-select.tsx +++ b/packages/opencode/src/cli/cmd/tui/ui/dialog-select.tsx @@ -196,7 +196,7 @@ export function DialogSelect(props: DialogSelectProps) { if (evt.name === "home") moveTo(0) if (evt.name === "end") moveTo(flat().length - 1) - if (props.numbered && !evt.ctrl && !evt.alt && !evt.meta) { + if (props.numbered && !evt.ctrl) { const num = parseInt(evt.name, 10) if (num >= 1 && num <= 9 && num <= flat().length) { evt.preventDefault()