aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src
diff options
context:
space:
mode:
authorGravatar Fabian Homborg <FHomborg@gmail.com>2016-04-07 18:26:10 +0200
committerGravatar Fabian Homborg <FHomborg@gmail.com>2016-04-07 18:27:34 +0200
commit8477126ae4c55d41adb9153f4632c09fffed4626 (patch)
tree7d86c71530545712d044eb7b0b65674cb3cf74fb /doc_src
parent9c755467240d7d2bbfb6a9cdb5e34d411ec9c99b (diff)
Correct true-color statement in set_color docs
- OSX Terminal does not support it - We do some detection
Diffstat (limited to 'doc_src')
-rw-r--r--doc_src/set_color.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc_src/set_color.txt b/doc_src/set_color.txt
index 087c9ac9..d08373ca 100644
--- a/doc_src/set_color.txt
+++ b/doc_src/set_color.txt
@@ -44,6 +44,6 @@ set_color normal; echo "Normal is nice" # This will reset background, too
Fish uses a heuristic to decide if your terminal supports the 256 color palette (as opposed to the more limited 16 color palette of older terminals). If you've done the equivalent of `set fish_term256 1` that will be true. If the $TERM value contains "256color" (e.g., "xterm-256color") that will be true. If your $TERM value is "xterm" and $TERM_PROGRAM is not set to "Apple_Terminal" that will be true. If your terminal supports the full 256 color palette (which is pretty much every color terminal emulator written in the past decade) you should ensure one of the aforementioned conditions is true.
-Many terminals support 24-bit (i.e., true-color) color escape sequences. This includes modern xterms, Gnome Terminal, KDE Konsole, and OS X Terminal and iTerm2. Fish does not currently auto-detect whether a given `$TERM` supports 24-bit colors. You can explicitly enable that support via `set fish_term24bit 1`. If you do so fish will not map your RGB color values to the closest known matching color in the ANSI X3.64 color palette.
+Many terminals support 24-bit (i.e., true-color) color escape sequences. This includes modern xterms, Gnome Terminal, KDE Konsole, and iTerm2. Fish currently does some limited attempts to detect whether a given `$TERM` supports 24-bit colors. You can explicitly enable that support via `set fish_term24bit 1`. If you do so fish will not map your RGB color values to the closest known matching color in the ANSI X3.64 color palette.
The `set_color` command uses the terminfo database to look up how to change terminal colors on whatever terminal is in use. Some systems have old and incomplete terminfo databases, and may lack color information for terminals that support it. Fish will use the [ANSI X3.64](https://en.wikipedia.org/wiki/ANSI_escape_code) escape sequences if the terminfo definition says less than 256 colors are supported; otherwise it will use the terminfo definition.