We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89492b3 commit bfbcb5fCopy full SHA for bfbcb5f
packages/opencode/src/cli/cmd/tui/ui/dialog-select.tsx
@@ -130,6 +130,7 @@ export function DialogSelect<T>(props: DialogSelectProps<T>) {
130
if (evt.name === "return") {
131
const option = selected()
132
if (option) {
133
+ evt.preventDefault()
134
if (option.onSelect) option.onSelect(dialog)
135
props.onSelect?.(option)
136
}
0 commit comments