Add ANSI terminal text manipulation