From 660d618f8b0df318d636cd780e547890d0248c0c Mon Sep 17 00:00:00 2001 From: _ov4 Date: Thu, 22 Oct 2026 01:45:15 +0000 Subject: feat(bundle): color compiler diagnostics in Output The runner now passes -fdiagnostics-color=always, since auto only sees a pipe. src/ansi.js turns stderr's SGR sequences into bold and colored runs, keeping style and cut-off sequences across chunks and dropping other sequences such as gcc's erase-line. Program stdout stays verbatim. Colors come from --vscode-terminal-ansi* variables. 2026 Dark leaves them unset, so vendor/vscode/terminal-colors.json pins VS Code's dark terminal defaults from the same upstream commit as the themes; a theme value still wins. Co-Authored-By: Claude Opus 5.5 --- bundle/vendor/vscode/terminal-colors.json | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 bundle/vendor/vscode/terminal-colors.json (limited to 'bundle/vendor') diff --git a/bundle/vendor/vscode/terminal-colors.json b/bundle/vendor/vscode/terminal-colors.json new file mode 100644 index 0000000..757a621 --- /dev/null +++ b/bundle/vendor/vscode/terminal-colors.json @@ -0,0 +1,23 @@ +// Dark defaults that VS Code's terminal uses when a theme leaves terminal.ansi* unset. +// Values from src/vs/workbench/contrib/terminal/common/terminalColorRegistry.ts at commit +// f93fdeb454a0f0fafe5f310408cec48dd3b6f58a, under the MIT license in LICENSE.txt. +{ + "colors": { + "terminal.ansiBlack": "#000000", + "terminal.ansiRed": "#cd3131", + "terminal.ansiGreen": "#0DBC79", + "terminal.ansiYellow": "#e5e510", + "terminal.ansiBlue": "#2472c8", + "terminal.ansiMagenta": "#bc3fbc", + "terminal.ansiCyan": "#11a8cd", + "terminal.ansiWhite": "#e5e5e5", + "terminal.ansiBrightBlack": "#666666", + "terminal.ansiBrightRed": "#f14c4c", + "terminal.ansiBrightGreen": "#23d18b", + "terminal.ansiBrightYellow": "#f5f543", + "terminal.ansiBrightBlue": "#3b8eea", + "terminal.ansiBrightMagenta": "#d670d6", + "terminal.ansiBrightCyan": "#29b8db", + "terminal.ansiBrightWhite": "#e5e5e5" + } +} -- cgit v1.3.1-4-g156e