Skip to content

Commit 5b5b791

Browse files
authored
fix(tui): fix broken /export toggling (anomalyco#16443)
1 parent 0b7a5b1 commit 5b5b791

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/opencode/src/cli/cmd/tui/ui/dialog-export-options.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export function DialogExportOptions(props: DialogExportOptionsProps) {
5656
setStore("active", order[nextIndex])
5757
evt.preventDefault()
5858
}
59-
if (evt.name === "space") {
59+
if (evt.name === "space" || evt.name === " ") {
6060
if (store.active === "thinking") setStore("thinking", !store.thinking)
6161
if (store.active === "toolDetails") setStore("toolDetails", !store.toolDetails)
6262
if (store.active === "assistantMetadata") setStore("assistantMetadata", !store.assistantMetadata)

0 commit comments

Comments
 (0)