Skip to content

Commit 1f9e195

Browse files
committed
stop esc propagation from dialogs
1 parent 539d6ba commit 1f9e195

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/opencode/src/cli/cmd/tui/ui/dialog.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ function init() {
6262
current.onClose?.()
6363
setStore("stack", store.stack.slice(0, -1))
6464
evt.preventDefault()
65+
evt.stopPropagation()
6566
refocus()
6667
}
6768
})

0 commit comments

Comments
 (0)