ANSI Graphics Control Sequences
ANSI Control sequences are combinations of characters that can be used to control the cursor, screen and keyboard. The following ANSI Control sequences are supported by the WinOne® Command Prompt :-
|ESC[<a>;<b>H||Move cursor to <a>, <b>.|
|ESC[<a>;<b>f||Same as for ESC[<a>;<b>H|
|ESC[<a>A||Move cursor up <a> spaces.|
|ESC[<a>B||Move cursor down <a> spaces.|
|ESC[<a>C||Move cursor right <a> spaces.|
|ESC[<a>D||Move cursor left <a> spaces.|
|ESC[s||Save cursor position|
|ESC[u||Restore cursor position|
|ESC[K||Erase to end of line|
|ESC[<n>;...;<n>m||Activate given attributes, where each <n> is|
ANSI Control sequences can be entered via the PROMPT command, or by displaying a text file that already contains the codes using the TYPE command. ANSI Control sequences can NOT be entered at the command prompt.
The system foreground and background colours that are displayed depend on the Custom Colours and Colour Schemes set by the user.