aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/set_color.txt
diff options
context:
space:
mode:
authorGravatar Mark Griffiths <mark@thebespokepixel.com>2014-08-19 13:41:23 +0100
committerGravatar Mark Griffiths <mark@thebespokepixel.com>2014-09-03 14:43:26 +0100
commit137abd0cfaa8959224f88a4ebe9584a51468cc88 (patch)
treec396f760a1e309b5a837359e65c57c4555534d49 /doc_src/set_color.txt
parentd7308fecbe573aad91fc6f1377c1ed2df735f6fd (diff)
Make line length, wrapping and spacing consistent
Diffstat (limited to 'doc_src/set_color.txt')
-rw-r--r--doc_src/set_color.txt27
1 files changed, 11 insertions, 16 deletions
diff --git a/doc_src/set_color.txt b/doc_src/set_color.txt
index 41c58d9e..ab4916df 100644
--- a/doc_src/set_color.txt
+++ b/doc_src/set_color.txt
@@ -7,36 +7,31 @@ 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, white and normal.
-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 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.
The following options are available:
- `-b`, `--background` `COLOR` sets the background color.
+
- `-c`, `--print-colors` prints a list of all valid color names.
+
- `-h`, `--help` displays a help message and exit.
+
- `-o`, `--bold` sets bold or extra bright mode.
+
- `-u`, `--underline` sets underlined mode.
-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.
+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.
Not all terminal emulators support all these features.
-`set_color` 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.
+`set_color` 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.
+
\subsection set_color-example Examples