Removes every ANSI escape sequence from text.
text
static String stripAnsi(String text) => text.replaceAll(_ansiPattern, '');