discontinuedPackage dart_console2 has been discontinued and replaced by dart_console.

resetCursorPosition method

void resetCursorPosition()

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

Implementation

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