Closed scottchiefbaker closed 1 year ago
The ANSI sequence to "reset" is \e[0m. Optionally the 0 can be omitted \e[m, and it appears newer version of git are doing this.
\e[0m
0
\e[m
Steps to reproduce:
echo "Hello world" > one.txt echo "Hello Jason" > two.txt diff -u one.txt two.txt | diff-so-fancy
With strip_leading_indicators enabled, the + / - at the start of the line are not removed. I'm running git v2.39.3 on Fedora.
+
-
I guess this was already fixed in 5d567c1 which I hadn't pulled on my new test machine. Disregard.
The ANSI sequence to "reset" is
\e[0m
. Optionally the0
can be omitted\e[m
, and it appears newer version of git are doing this.Steps to reproduce:
With strip_leading_indicators enabled, the
+
/-
at the start of the line are not removed. I'm running git v2.39.3 on Fedora.