diff options
author | vladlosev <vladlosev@861a406c-534a-0410-8894-cb66d6ee9925> | 2010-04-22 11:44:59 (GMT) |
---|---|---|
committer | vladlosev <vladlosev@861a406c-534a-0410-8894-cb66d6ee9925> | 2010-04-22 11:44:59 (GMT) |
commit | e05489605fc58736f837563db1fc33f9131ee810 (patch) | |
tree | b6e3b13651c9f9d8a3405a3bcf292f6e2c6c68f0 /src/gtest.cc | |
parent | e85375608b87ffd48fbc9c9f1f2d9a58176d7055 (diff) | |
download | googletest-e05489605fc58736f837563db1fc33f9131ee810.zip googletest-e05489605fc58736f837563db1fc33f9131ee810.tar.gz googletest-e05489605fc58736f837563db1fc33f9131ee810.tar.bz2 |
Implements color output in GNU Screen sessions (issue 277).
Diffstat (limited to 'src/gtest.cc')
-rw-r--r-- | src/gtest.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gtest.cc b/src/gtest.cc index 342d458..302c327 100644 --- a/src/gtest.cc +++ b/src/gtest.cc @@ -2592,6 +2592,7 @@ bool ShouldUseColor(bool stdout_is_tty) { String::CStringEquals(term, "xterm") || String::CStringEquals(term, "xterm-color") || String::CStringEquals(term, "xterm-256color") || + String::CStringEquals(term, "screen") || String::CStringEquals(term, "linux") || String::CStringEquals(term, "cygwin"); return stdout_is_tty && term_supports_color; |