aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src
diff options
context:
space:
mode:
authorGravatar Kurtis Rader <krader@skepticism.us>2015-11-24 12:36:35 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-12-08 20:08:08 -0800
commit0a0acc8a2e0b8c2ca0c0500123d586d629f99b16 (patch)
tree6c388b7969c1ff464d3a34abb66469bc581e0baf /doc_src
parentef67fc7ba05ab2c9b8e6b5240ce4f9da92ca79b8 (diff)
add support for ANSI "bright" colors
This adds support for the ANSI x3.64 "bright" colors in the basic sixteen color palette. This is especially useful when trying to use the base colors as a background color. The "bright" variants tend to be more useful as background colors compared to the non-bright variants. This also fixes a bug in so far as palette number 7 is actually grey and not white whereas palette number 15 is white. At least on the terminal emulators on which I've tested this change (Ubuntu xterm & uxterm, Mac OS X Terminal & iTerm2). Resolves issue #1464.
Diffstat (limited to 'doc_src')
-rw-r--r--doc_src/set_color.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc_src/set_color.txt b/doc_src/set_color.txt
index 66855073..5480247c 100644
--- a/doc_src/set_color.txt
+++ b/doc_src/set_color.txt
@@ -7,9 +7,9 @@ set_color [OPTIONS] [COLOR]
\subsection set_color-description Description
-`set_color` changes the foreground and/or background color of the terminal. `COLOR` is one of black, red, green, brown, yellow, blue, magenta, purple, cyan, white and normal.
+`set_color` changes the foreground and/or background color of the terminal. `COLOR` is one of `black`, `red`, `green`, `brown`, `yellow`, `blue`, `magenta`, `purple`, `cyan`, `brred`, `brgreen`, `brbrown`, `bryellow`, `brblue`, `brmagenta`, `brpurple`, `brcyan`, `white` and `normal`. The `br`, bright, forms are most useful as background colors.
-If your terminal supports term256 (modern xterms and OS X Lion), you can specify an RGB value with three or six hex digits, such as A0FF33 or f2f. `fish` will choose the closest supported color.
+If your terminal supports term256 (modern xterms and OS X Terminal and iTerm2), you can specify an RGB value with three or six hex digits, such as A0FF33 or f2f. `fish` will choose the closest supported color. A three digit value is equivalent to specifying each digit twice; e.g., `#2BC` is the same as `#22BBCC`. Hex RGB values can be in lower or uppercase, optionally prefixed with the pound-sign character.
The following options are available:
@@ -24,7 +24,7 @@ The following options are available:
Calling `set_color normal` will set the terminal color to the default color of the terminal.
-Some terminals use the `--bold` escape sequence to switch to a brighter color set. On such terminals, `set_color white` will result in a grey font color, while `set_color --bold white` will result in a white font color.
+Some terminals use the `--bold` escape sequence to switch to a brighter color set rather than bolding the characters.
Not all terminal emulators support all these features.