diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-22 01:45:15 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-22 01:45:15 +0000 |
| commit | 660d618f8b0df318d636cd780e547890d0248c0c (patch) | |
| tree | ea3f7746105d271558287ccd7268834245df68fd /bundle/README.md | |
| parent | 427acc420c6fce10fa77e603f7696f3e89d342d6 (diff) | |
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 <noreply@anthropic.com>
Diffstat (limited to 'bundle/README.md')
| -rw-r--r-- | bundle/README.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundle/README.md b/bundle/README.md index 6ef2bcc..b9df146 100644 --- a/bundle/README.md +++ b/bundle/README.md @@ -1,6 +1,6 @@ # CPSC Bundle -Open a `.cps` file, enter its input in **Input**, and click **Run**. The file is saved before running. Program output and errors appear in **Output**. Click **Stop** to end a running program. +Open a `.cps` file, enter its input in **Input**, and click **Run**. The file is saved before running. Program output and errors appear in **Output**, with compiler errors colored. Click **Stop** to end a running program. Shortcuts use Cmd on macOS and Ctrl on Windows: **N** new, **O** open, **S** save, **F** find, **/** toggle line comment. |
