ANSI support for moving cursor and clearing screen.