Use ANSI escape sequence to reset and clear terminal, rather than using