repeatPreviousCharacter method

void repeatPreviousCharacter(
  1. int count
)

Repeats the last printed character count times (REP).

Implementation

void repeatPreviousCharacter(int count) {
  if (count <= 0) return;
  _seq('\x1b[${count}b');
}