hideCursor method

void hideCursor()

Hides the cursor.

If you hide the cursor, you should take care to return the cursor to a visible status at the end of the program, even if it throws an exception, by calling the showCursor method.

Implementation

void hideCursor() => stdout.write(ansiHideCursor);