cursorLeft method

  1. @override
void cursorLeft([
  1. int cols = 1
])
override

Moves the cursor left by cols columns.

Implementation

@override
void cursorLeft([int cols = 1]) {
  if (!supportsAnsi) return;
  if (cols <= 1) return write(Ansi.cursorLeft);
  write(Ansi.cursorLeftBy(cols));
}