overwriteLine method
Clears the current line, moves the cursor to column 0
and then prints text
effectively overwriting the current
console line.
If the current console doesn't support ansi escape
sequences (isAnsi == false) then this call
will simply revert to calling print.
Implementation
void overwriteLine(String text) {
clearLine();
column = 0;
_console.write(text);
}