aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorkosak <kosak@google.com>2015-04-28 22:04:35 +0000
committerkosak <kosak@google.com>2015-04-28 22:04:35 +0000
commit1197daf3571161590dce2bc4879512ef7bc1ba67 (patch)
tree7f171aca1dca68690a0010f67bb4f3be42531913 /src
parentf8c44a0ae449dd78d703e94c295287d051560217 (diff)
downloadgoogletest-1197daf3571161590dce2bc4879512ef7bc1ba67.tar.gz
googletest-1197daf3571161590dce2bc4879512ef7bc1ba67.tar.bz2
googletest-1197daf3571161590dce2bc4879512ef7bc1ba67.zip
urxvt supports colors
Diffstat (limited to 'src')
-rw-r--r--src/gtest.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gtest.cc b/src/gtest.cc
index bcbbf53a..8b767074 100644
--- a/src/gtest.cc
+++ b/src/gtest.cc
@@ -2886,6 +2886,8 @@ bool ShouldUseColor(bool stdout_is_tty) {
String::CStringEquals(term, "xterm-256color") ||
String::CStringEquals(term, "screen") ||
String::CStringEquals(term, "screen-256color") ||
+ String::CStringEquals(term, "rxvt-unicode") ||
+ String::CStringEquals(term, "rxvt-unicode-256color") ||
String::CStringEquals(term, "linux") ||
String::CStringEquals(term, "cygwin");
return stdout_is_tty && term_supports_color;