moveCursorTo method

  1. @override
  2. @nonVirtual
void moveCursorTo(
  1. int x,
  2. int y
)
override

Moves the terminal cursor to the given position.

Implementation

@override
@nonVirtual
void moveCursorTo(int x, int y) {
  _writeSequences([MoveCursorTo(y + 1, x + 1).toSequence()]);
}