hideCursor method

void hideCursor()

Hides the terminal cursor using ANSI escape codes.

Implementation

void hideCursor() {
  stdout.write('\x1B[?25l');
}