aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src
diff options
context:
space:
mode:
authorGravatar Fabian Homborg <FHomborg@gmail.com>2015-09-20 17:27:17 +0200
committerGravatar Fabian Homborg <FHomborg@gmail.com>2015-09-20 17:27:17 +0200
commite70ed961eab80dab41ebfda7b91d80d9ef041be7 (patch)
treedc5ed26fe4c161605803e7a7d3215fcab582a38d /doc_src
parent7216e36cb1a06cef54e9eb544c394308f2ef08be (diff)
Document set_color resetting both for "normal"
Fixes #1658
Diffstat (limited to 'doc_src')
-rw-r--r--doc_src/set_color.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc_src/set_color.txt b/doc_src/set_color.txt
index f48926a8..66855073 100644
--- a/doc_src/set_color.txt
+++ b/doc_src/set_color.txt
@@ -30,6 +30,7 @@ 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.
+Note that setting either color to "normal" will reset both back- and foreground colors.
\subsection set_color-example Examples
@@ -37,5 +38,5 @@ Not all terminal emulators support all these features.
set_color red; echo "Roses are red"
set_color blue; echo "Violets are blue"
set_color 62A; echo "Eggplants are dark purple"
-set_color normal; echo "Normal is nice too"
+set_color normal; echo "Normal is nice" # This will reset background, too
\endfish