File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -692,7 +692,7 @@ treat 0 as 1 to remain useful without parameters.
692692 * - CSI n m
693693 - SGR
694694 - Select Graphic Rendition
695- - Selects colors and styles .
695+ - See ` SGR Parameters `_ .
696696 * - CSI 6n
697697 - DSR
698698 - Device Status Report
@@ -716,6 +716,8 @@ treat 0 as 1 to remain useful without parameters.
716716 - Makes the cursor invisible.
717717
718718
719+ .. _SGR Parameters :
720+
719721SGR Parameters
720722--------------
721723Send multiple parameters separated by semicolons. Sending CSI m
@@ -749,7 +751,10 @@ without any codes resets all attributes.
749751 - Colors 0-7
750752 * - 38
751753 - Set foreground color
752- - Followed by 1 or 5;n or 2;r;g;b or 2::r: g:b
754+ - - ``;5;n `` — 256-color index n (0-255)
755+ - ``;2;r;g;b `` — 24-bit RGB color
756+ - ``;2::r:g:b `` — 24-bit RGB color
757+ - ``;1 `` — transparent
753758 * - 39
754759 - Default foreground color
755760 - Color 7 white.
@@ -758,7 +763,10 @@ without any codes resets all attributes.
758763 - Colors 0-7
759764 * - 48
760765 - Set background color
761- - Followed by 1 or 5;n or 2;r;g;b or 2::r: g:b
766+ - - ``;5;n `` — 256-color index n (0-255)
767+ - ``;2;r;g;b `` — 24-bit RGB color
768+ - ``;2::r:g:b `` — 24-bit RGB color
769+ - ``;1 `` — transparent
762770 * - 49
763771 - Default background color
764772 - Color 0 transparent black.
You can’t perform that action at this time.
0 commit comments