stop method

void stop()

Stop the progress bar without completing

Implementation

void stop() {
  print(''); // New line
  // Show cursor
  stdout.write('\x1B[?25h');
}