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>
This commit is contained in:
Jeff King 2014-11-20 10:15:31 -05:00 коммит произвёл Junio C Hamano
Родитель 7fa1365c54
Коммит 0edad17d67
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -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.