do not use ANSI escape codes if output is not a terminal