setCursorY method

void setCursorY(
  1. int y
)

Moves the cursor to row y (0-based) (VPA).

Implementation

void setCursorY(int y) {
  _seq('\x1b[${max(y, 0) + 1}d');
}