summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortobwen <[email protected]>2026-03-08 09:25:33 +0100
committerGitHub <[email protected]>2026-03-08 13:55:33 +0530
commit13a68f3de368a9c5257ba620d791e290379ceb0a (patch)
treecc9a8cd8807ba53e9c7a74fe9f4c2d84849ca6d5
parentfdad35aaa70f9999a19b064c8d99731303b58db9 (diff)
downloadopencode-13a68f3de368a9c5257ba620d791e290379ceb0a.tar.gz
opencode-13a68f3de368a9c5257ba620d791e290379ceb0a.zip
fix(opencode): avoid TTY corruption from double cleanup (#16565)
Co-authored-by: Shoubhit Dash <[email protected]>
-rw-r--r--packages/opencode/src/cli/cmd/tui/thread.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/packages/opencode/src/cli/cmd/tui/thread.ts b/packages/opencode/src/cli/cmd/tui/thread.ts
index f778c96a8..fea32a2b2 100644
--- a/packages/opencode/src/cli/cmd/tui/thread.ts
+++ b/packages/opencode/src/cli/cmd/tui/thread.ts
@@ -208,7 +208,6 @@ export const TuiThreadCommand = cmd({
prompt,
fork: args.fork,
},
- onExit: stop,
})
} finally {
await stop()