ANSI Escape Sequences

D3-TUI supports standard VT100/ANSI escape sequences:

Sequence Function
\x1B[J (ED) Clear screen from cursor
\x1B[0J (ED 0) Clear from cursor to end of screen
\x1B[1J (ED 1) Clear from start to cursor
\x1B[2J (ED 2) Clear entire screen
\x1B[K (EL) Clear line from cursor
\x1B[0K (EL 0) Clear from cursor to end of line
\x1B[1K (EL 1) Clear from start to cursor
\x1B[2K (EL 2) Clear entire line
\x1B[{n}D Move cursor left n positions
\x1B[{n}C Move cursor right n positions
\x1B[{n}B Move cursor down n lines
\x1B[{n}A Move cursor up n lines
\x1B[?{n}h DEC Private Mode set
\x1B[?{n}l DEC Private Mode reset