about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2021-12-13 21:06:57 +0100
committerOliver Kiddle <opk@zsh.org>2021-12-13 21:06:57 +0100
commit91b7baf25929a20ee776100f406021a422d56e98 (patch)
treeb2c1c0e7348937cf969f67560382d0f50c6f0589 /Doc
parent7791a6876c64ee678da0bd9af954af692146f4fd (diff)
downloadzsh-91b7baf25929a20ee776100f406021a422d56e98.tar.gz
zsh-91b7baf25929a20ee776100f406021a422d56e98.tar.xz
zsh-91b7baf25929a20ee776100f406021a422d56e98.zip
49646: allow colors in WATCHFMT with %F/%K
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/mod_watch.yo6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/Zsh/mod_watch.yo b/Doc/Zsh/mod_watch.yo
index 4eea89e23..d97a41d13 100644
--- a/Doc/Zsh/mod_watch.yo
+++ b/Doc/Zsh/mod_watch.yo
@@ -65,6 +65,12 @@ The `tt(%m)' and `tt(%M)' escapes will work only if there is a host name
 field in the utmp on your machine.  Otherwise they are
 treated as ordinary strings.
 )
+item(tt(%F{)var(color)tt(}) LPAR()tt(%f)RPAR())(
+Start (stop) using a different foreground color.
+)
+item(tt(%K{)var(color)tt(}) LPAR()tt(%k)RPAR())(
+Start (stop) using a different background color.
+)
 item(tt(%S) LPAR()tt(%s)RPAR())(
 Start (stop) standout mode.
 )