fix(tui): keep terminal panes off by default on Windows (#46821)

This commit is contained in:
James Long
2026-09-02 10:50:26 -04:00
committed by GitHub
Unverified
parent 6051a1f987
commit 268ca2f63d
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ export const settings: Setting[] = [
title: "Terminal",
category: "Session",
path: ["session", "terminal"],
default: true,
default: process.platform !== "win32",
values: [false, true],
labels: ["off", "on"],
keywords: ["pty", "shell", "terminal pane"],
+2 -1
View File
@@ -299,7 +299,8 @@ export function resolve(input: Info, options: { terminalSuspend: boolean }): Res
session: {
...input.session,
new_location: input.session?.new_location ?? "launch",
terminal: input.session?.terminal ?? true,
// Persistent terminal panes need the opencode-pty daemon, which does not ship Windows binaries.
terminal: input.session?.terminal ?? process.platform !== "win32",
tps: input.session?.tps ?? true,
},
tabs: {