From d683d278c793681069800417b77e8d53e7ce21f1 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Wed, 23 Jan 2019 00:46:58 +0100 Subject: 44011: Only use fg_start_code for non-truecolor The sequence for truecolor uses a different prefix from palette colors --- Doc/Zsh/zle.yo | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Doc/Zsh/zle.yo') 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 -- cgit 1.4.1