console_codes.4: Update \e[38m and \e[48m

Supported since cec5b2a97a11ade56a701e83044d0a2a984c67b4 (3.16).

Signed-off-by: Adam Borowski <kilobyte@angband.pl>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Adam Borowski 2019-03-08 20:40:58 +01:00 committed by Michael Kerrisk
parent a133a6bc03
commit f1779b1234
1 changed files with 13 additions and 2 deletions

View File

@ -271,8 +271,8 @@ T}
35 set magenta foreground
36 set cyan foreground
37 set white foreground
38 set underscore on, set default foreground color
39 set underscore off, set default foreground color
38 256/24-bit foreground color follows, shoehorned into 16 basic colors
39 set default foreground color
40 set black background
41 set red background
42 set green background
@ -281,9 +281,20 @@ T}
45 set magenta background
46 set cyan background
47 set white background
48 256/24-bit background color follows, shoehorned into 8 basic colors
49 set default background color
.TE
.PP
Commands 38 and 48 require further arguments:
.TS
l l.
;5;x T{
256 color: values 0..15 are IBGR (black, red, green, ... white),
16..231 a 6x6x6 color cube, 232..255 a grayscale ramp
T}
;2;r;g;b 24-bit color, components go 0..255
.TE
.PP
.B ECMA-48 Mode Switches
.TP
ESC [ 3 h