Skip to content

Commit b167e17

Browse files
committed
fix(server): advertise 256-color TERM on Windows terminals
Windows PTY sessions set TERM=xterm-color, which advertises 16-color support. ConPTY renders 256-color VT sequences fine, and every other platform already gets xterm-256color. TUIs and agent CLIs that key off TERM rendered faint, degraded palettes on Windows only.
1 parent 0640410 commit b167e17

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/server/src/terminal/NodePtyAdapter.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export const make = Effect.fn("NodePtyAdapter.make")(function* (
148148
cols: input.cols,
149149
rows: input.rows,
150150
env: input.env,
151-
name: platform === "win32" ? "xterm-color" : "xterm-256color",
151+
name: "xterm-256color",
152152
}),
153153
catch: (cause) =>
154154
new PtyAdapter.PtySpawnError({

0 commit comments

Comments
 (0)