mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-14 03:56:55 +03:00
fix(tui): keep terminal panes off by default on Windows (#46821)
This commit is contained in:
committed by
GitHub
Unverified
parent
6051a1f987
commit
268ca2f63d
@@ -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"],
|
||||
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user