From 0edad17d6728df055c3b92bf89d5329f0afdcefd Mon Sep 17 00:00:00 2001 From: Jeff King Date: Thu, 20 Nov 2014 10:15:31 -0500 Subject: [PATCH] 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 Signed-off-by: Junio C Hamano --- Documentation/config.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/config.txt b/Documentation/config.txt index 6ae4d90708..9678ab6aa8 100644 --- a/Documentation/config.txt +++ b/Documentation/config.txt @@ -825,6 +825,10 @@ accepted are `normal`, `black`, `red`, `green`, `yellow`, `blue`, `blink` and `reverse`. The first color given is the foreground; the second is the background. The position of the attribute, if any, doesn't matter. ++ +Colors (foreground and background) may also be given as numbers between +0 and 255; these use ANSI 256-color mode (but note that not all +terminals may support this). color.diff:: Whether to use ANSI escape sequences to add color to patches. -- 2.11.4.GIT