cursorPrecedingLine method

void cursorPrecedingLine(
  1. int amount
)

Moves the cursor amount rows up, to the first column.

Implementation

void cursorPrecedingLine(int amount) {
  _seq('${_moveY(-amount)}\r');
}