console display code with ansi color output