cursorHorizontalForwardTab static method

String cursorHorizontalForwardTab(
  1. int n
)

Returns an ANSI sequence for forward-tab by n stops.

Implementation

static String cursorHorizontalForwardTab(int n) =>
    n == 1 ? '\x1b[I' : '\x1b[${n}I';