From c811a18d44c4720572504065bc1b83371b8998b2 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 9 May 2008 17:33:49 +0000 Subject: 24986: prompt escapes for colours --- Doc/Zsh/zle.yo | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Doc/Zsh/zle.yo') diff --git a/Doc/Zsh/zle.yo b/Doc/Zsh/zle.yo index b7b4676a7..9f2eec388 100644 --- a/Doc/Zsh/zle.yo +++ b/Doc/Zsh/zle.yo @@ -2182,9 +2182,10 @@ Not all terminals support this and, of those that do, not all provide facilities to test the support, hence the user should decide based on the terminal type. Most terminals support the colours tt(black), tt(red), tt(green), tt(yellow), tt(blue), tt(magenta), tt(cyan) and tt(white), -which can be set by name. Abbreviations are allowed; tt(b) or tt(bl) -selects black. Some terminals may generate additional colours if the -tt(bold) attribute is also present. +which can be set by name. In addition. tt(default) may be used to +set the terminal's default foreground colour. Abbreviations are allowed; +tt(b) or tt(bl) selects black. Some terminals may generate additional +colours if the tt(bold) attribute is also present. On recent terminals and on systems with an up-to-date terminal database the number of colours supported may be tested by with the command `tt(echotc -- cgit 1.4.1