Colour arrays, one for foreground and one for background colours Each uses the Colour enum values as index
Amount of columns available in the terminal
Amount of rows (lines) available in the terminal
Colours
Bold / non-bold text.
Start Sequence
Command for cursor up
Command for erasing the rest of the line
Command for erasing everything below and right of the cursor
Command for hiding the cursor
Moves the cursor to column n.
Command for inserting a line
Moves the cursor n lines up and places it at the beginning of the line
Command for scrolling up
Command for showing the cursor
// Move the cursor four lines up Stdout.formatln("{}4{}", Terminal.CSI, Terminal.CURSOR_UP);
Struct containing information and helpers to handle terminals
Most of the control sequences can be prefixed with a ASCII digit string (referred to by 'n' from now on) representing usually how often the command should be executed.
Cases where this is not the case are documented.