]> git.99rst.org Git - git.git/commit
sideband: allow ANSI SGR with colon-separated subfields
authorMantas Mikulėnas <redacted>
Wed, 13 May 2026 07:08:03 +0000 (10:08 +0300)
committerJunio C Hamano <redacted>
Tue, 7 Jul 2026 18:20:44 +0000 (11:20 -0700)
commit3792b2aea4371c2c6f65cac2ece9b2718ad61b1c
treeb840152ebc7cec01cb507d3e6742278103ebaf4f
parente9019fcafe0040228b8631c30f97ae1adb61bcdc
sideband: allow ANSI SGR with colon-separated subfields

The SGR values used for 256-color formatting are officially defined to
be a single field with :-separated subfields (e.g. "\e[1;38:5:XX;40m")
despite the more common but kludgy use of separate values (which then
become context-dependent and lead to misinterpretation by incompatible
terminals).

Signed-off-by: Mantas Mikulėnas <redacted>
Acked-by: Johannes Schindelin <redacted>
Signed-off-by: Junio C Hamano <redacted>
sideband.c
git clone https://git.99rst.org/PROJECT