clearLine static method

void clearLine()

Clear current line

Implementation

static void clearLine() {
  stdout.write('\r\x1B[K');
}