summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Tanner <michael@tannertaxpro.com>2015-03-23 10:56:04 (GMT)
committerMichael Tanner <michael@tannertaxpro.com>2015-03-23 10:56:04 (GMT)
commit66088e4787e79676df4f1a90b19172f06d0904f3 (patch)
tree751395c8b8f85ed12907f774b29291a901125417 /src
parent47ab571f38e8c6266c260010ac631f888e302e6d (diff)
downloadglog-66088e4787e79676df4f1a90b19172f06d0904f3.zip
glog-66088e4787e79676df4f1a90b19172f06d0904f3.tar.gz
glog-66088e4787e79676df4f1a90b19172f06d0904f3.tar.bz2
Adds color output support for tmux terminals
Diffstat (limited to 'src')
-rw-r--r--src/logging.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/logging.cc b/src/logging.cc
index 2bb5f12..5543e3a 100644
--- a/src/logging.cc
+++ b/src/logging.cc
@@ -253,6 +253,7 @@ static bool TerminalSupportsColor() {
!strcmp(term, "xterm") ||
!strcmp(term, "xterm-color") ||
!strcmp(term, "xterm-256color") ||
+ !strcmp(term, "screen-256color") ||
!strcmp(term, "screen") ||
!strcmp(term, "linux") ||
!strcmp(term, "cygwin");