moveCursor method

  1. @override
void moveCursor(
  1. int row,
  2. int col
)
override

Moves the cursor to the specified row and col (1-based).

Implementation

@override
void moveCursor(int row, int col) {
  if (supportsAnsi) write(Ansi.cursorTo(row, col));
}