Added support for color (ANSI terminals only)