feat(app): sync embedded terminal theme (#37931)

This commit is contained in:
Luke Parker
2026-07-21 00:22:26 +10:00
committed by GitHub
parent b67fda133a
commit 43e472bba7
6 changed files with 34 additions and 6 deletions
+4 -1
View File
@@ -4,7 +4,10 @@ import type { Opts, Proc } from "./pty"
export type { Disp, Exit, Opts, Proc } from "./pty"
export function spawn(file: string, args: string[], opts: Opts): Proc {
const proc = pty.spawn(file, args, opts)
const proc = pty.spawn(file, args, {
...opts,
...(process.platform === "win32" ? { useConptyDll: true } : {}),
})
return {
pid: proc.pid,
onData(listener) {