From 13a68f3de368a9c5257ba620d791e290379ceb0a Mon Sep 17 00:00:00 2001 From: tobwen <1864057+tobwen@users.noreply.github.com> Date: Sun, 8 Mar 2026 09:25:33 +0100 Subject: [PATCH] fix(opencode): avoid TTY corruption from double cleanup (#16565) Co-authored-by: Shoubhit Dash --- packages/opencode/src/cli/cmd/tui/thread.ts | 1 - 1 file changed, 1 deletion(-) 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()