hide_cursor method

  1. @override
void hide_cursor()
override

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 show_cursor method.

Implementation

@override
void hide_cursor() {
  stdout.write(control_sequence_identifier + "?25l");
}