cli/pkg/cmd/pr/diff
Kynan Ware 48951aca01 Fix invalid ANSI SGR escape code in JSON and diff colorization
Replace `1;38` with `1;37` (bold white) in the delimiter/header
color constant. SGR parameter 38 is the extended foreground color
prefix and requires sub-parameters (e.g. `38;5;n` or `38;2;r;g;b`),
so using it bare produces an invalid escape sequence. Most terminals
silently ignore the malformed parameter, masking the bug.

Fixes cli/cli#12683

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 17:52:01 -07:00
..
diff.go Fix invalid ANSI SGR escape code in JSON and diff colorization 2026-02-18 17:52:01 -07:00
diff_test.go Fix invalid ANSI SGR escape code in JSON and diff colorization 2026-02-18 17:52:01 -07:00