Takes an input number and returns the escape ANSI sequence.
input
ansi(13); // "\x1b[13m"ansi(42); // "\x1b[42m"
Escaped ANSI sequence.
Input to escape.
Takes an
input
number and returns the escape ANSI sequence.Example
Returns
Escaped ANSI sequence.