clearLine function

void clearLine(
  1. int row
)

Implementation

void clearLine(int row) {
  moveCursor(Point(0, row));
  stdout.write('\x1B[K');
}