diff options
author | Jeff King <peff@peff.net> | 2014-11-20 18:15:31 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-11-20 21:13:25 +0300 |
commit | 0edad17d6728df055c3b92bf89d5329f0afdcefd (patch) | |
tree | 2ed5c4c5a6baec52dfa1a7e2bab2ef8ae6d5399d /Documentation | |
parent | 7fa1365c54c28b3cd9375539f381b54061a1880d (diff) |
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>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/config.txt | 4 |
1 files changed, 4 insertions, 0 deletions
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. |