docs: describe ANSI 256-color mode
Our color specifications have supported the 256-color ANSI extension for years, but we never documented it. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Jeff King committed
Nov 20, 2014 at 10:15 UTC
0edad17d6728df055c3b92bf89d5329f0afdcefd
1 file changed
+4
Documentation/config.txt
+4
@@ -825,6 +825,10 @@ accepted are `normal`, `black`, `red`, `green`, `yellow`, `blue`,
825
`blink` and `reverse`. The first color given is the foreground; the
826
second is the background. The position of the attribute, if any,
827
doesn't matter.
828
++
829
+Colors (foreground and background) may also be given as numbers between
830
+0 and 255; these use ANSI 256-color mode (but note that not all
831
+terminals may support this).
832
833
color.diff::
834
Whether to use ANSI escape sequences to add color to patches.