erase_cursor_to_end method

  1. @override
void erase_cursor_to_end()
override

Erases the current line from the cursor to the end of the line.

Implementation

@override
void erase_cursor_to_end() {
  stdout.write(control_sequence_identifier + 'K');
}