diff options
author | kosak@google.com <kosak@google.com@861a406c-534a-0410-8894-cb66d6ee9925> | 2015-04-28 22:04:35 +0000 |
---|---|---|
committer | kosak@google.com <kosak@google.com@861a406c-534a-0410-8894-cb66d6ee9925> | 2015-04-28 22:04:35 +0000 |
commit | a734b14b9b9d8f267e4e83fae0be327331426ae7 (patch) | |
tree | 7f171aca1dca68690a0010f67bb4f3be42531913 /src | |
parent | ddb65611b11c0199df68aa8bbd5e61c89f031e90 (diff) | |
download | googletest-a734b14b9b9d8f267e4e83fae0be327331426ae7.tar.gz |
urxvt supports colors
git-svn-id: http://googletest.googlecode.com/svn/trunk@711 861a406c-534a-0410-8894-cb66d6ee9925
Diffstat (limited to 'src')
-rw-r--r-- | src/gtest.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gtest.cc b/src/gtest.cc index bcbbf53..8b76707 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; |