Returns an ANSI sequence to repeat the previous character n times.
n
static String repeatPreviousCharacter(int n) => n == 1 ? '\x1b[b' : '\x1b[${n}b';