resetCursorPosition method

void resetCursorPosition()

Moves the cursor to the top left corner of the screen.

Implementation

void resetCursorPosition() => stdout.write(ansiCursorPosition(1, 1));