moveUp static method

String moveUp(
  1. dynamic n
)

The reverse of '\n'. Goes to the beginning of the previous line.

Implementation

static String moveUp(n) => '\u001b[${n}A';