about summary refs log tree commit diff
path: root/Doc/Zsh/zle.yo
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2019-01-23 00:46:58 +0100
committerMikael Magnusson <mikachu@gmail.com>2019-01-23 11:51:42 +0100
commitd683d278c793681069800417b77e8d53e7ce21f1 (patch)
tree150d9a99acde1a9f6bd2569f1c81c140a3e79f46 /Doc/Zsh/zle.yo
parenta76c6def15b4a85729219da0899b3ef6ada48c29 (diff)
downloadzsh-d683d278c793681069800417b77e8d53e7ce21f1.tar.gz
zsh-d683d278c793681069800417b77e8d53e7ce21f1.tar.xz
zsh-d683d278c793681069800417b77e8d53e7ce21f1.zip
44011: Only use fg_start_code for non-truecolor
The sequence for truecolor uses a different prefix from palette colors
Diffstat (limited to 'Doc/Zsh/zle.yo')
-rw-r--r--Doc/Zsh/zle.yo6
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/Zsh/zle.yo b/Doc/Zsh/zle.yo
index fe4e5bd04..c2b9f5430 100644
--- a/Doc/Zsh/zle.yo
+++ b/Doc/Zsh/zle.yo
@@ -2671,7 +2671,9 @@ cindex(escape sequences, terminal, for highlighting)
 cindex(terminal escape sequences for highlighting)
 item(tt(fg_start_code) (tt(\e[3)))(
 The start of the escape sequence for the foreground colour.
-This is followed by an ASCII digit representing the colour.
+This is followed by one to three ASCII digits representing the colour.
+Only used for palette colors, i.e. not 24-bit colors specified via a
+color triplet.
 )
 item(tt(fg_default_code) (tt(9)))(
 The number to use instead of the colour to reset the default foreground
@@ -2682,7 +2684,7 @@ The end of the escape sequence for the foreground colour.
 )
 item(tt(bg_start_code) (tt(\e[4)))(
 The start of the escape sequence for the background colour.
-This is followed by an ASCII digit representing the colour.
+See tt(fg_start_code) above.
 )
 item(tt(bg_default_code) (tt(9)))(
 The number to use instead of the colour to reset the default