4.3 VT100+ Example for Console Host

The following sequence patterns can be found in section 2.2.3.1.1.

A user wishes to reset all color/font information in an area of text back to what it originally was when the session started. The user sends the sequence:

    <ESC>[m

A user wishes to set a bright/bold green foreground color with a dark blue background color. The user has two options and sends either of the following sequences:

    <ESC>[32;1;44m     -OR-     <ESC>[92;44m

Each item of the sequence will be applied in the order it is received. 32 will set the dark green foreground, 1 will turn it into a bright/bold foreground color, then 44 will set the dark blue background. Or 92 will set a bright green foreground in one step.

A user can specify multiple overlapping colors and they will be applied from beginning to end in the order received. The final applicable color in the sequence will be the resulting video mode. In the following example, a user sets blue foreground then magenta foreground:

 <ESC>32;35m

The final result will be a magenta foreground mode.