Hadatko / googletest

Automatically exported from code.google.com/p/googletest
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Add rxvt-unicode to the list of TERMs with color #379

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently gtest determines whether to use colored output by checking the TERM 
variable against a short list of known-good terminals. This list does not 
include rxvt-unicode [1], so users of this terminal do not get colored output 
without forcing it with --gtest_color=yes.

While this is a trivial enhancement, at some point it might be worthwhile to 
research if color support could be somehow queried from the terminal in some 
reliable and portable way.

[1] http://software.schmorp.de/pkg/rxvt-unicode.html

Original issue reported on code.google.com by nuteater on 13 Sep 2011 at 1:56

GoogleCodeExporter commented 9 years ago
Would be nice, if there is an --gtest_color=force-ansi or the like even on 
windows.
E.g. the waf build tool has an ansiterm emulation, which is capable to print 
colors on windows console by interpreting ansi escape sequences in 
stdout/stderr.

Original comment by mail.kesselhaus@googlemail.com on 12 Apr 2013 at 3:02