Blame SOURCES/rxvt-terminals-coloring.patch

e965a0
From e6a98ff289c0c085767c2e910e0a3fb983d8b273 Mon Sep 17 00:00:00 2001
e965a0
From: Alois Mahdal <amahdal@redhat.com>
e965a0
Date: Thu, 1 Feb 2018 15:12:12 +0100
e965a0
Subject: [PATCH 1/5] Enable colors on rxvt terminals
e965a0
e965a0
rxvt-unicode sets TERM to 'rxvt-unicode'.  plain old rxvt sets it to
e965a0
`rxvt`.
e965a0
---
e965a0
 src/logging.sh | 2 +-
e965a0
 1 file changed, 1 insertion(+), 1 deletion(-)
e965a0
e965a0
diff --git a/src/logging.sh b/src/logging.sh
e965a0
index 2d3972a..38a0466 100644
e965a0
--- a/src/logging.sh
e965a0
+++ b/src/logging.sh
e965a0
@@ -175,7 +175,7 @@ __INTERNAL_color_set() {
e965a0
   [[ -t 1 ]] || T=""
e965a0
   [[ -t 2 ]] || T=""
e965a0
   case $T in
e965a0
-    xterm*|screen|linux)
e965a0
+    xterm*|screen|linux|rxvt*)
e965a0
       __INTERNAL_color_black="\e[0;30m"
e965a0
       __INTERNAL_color_dark_gray="\e[1;30m"
e965a0
       __INTERNAL_color_red="\e[0;31m"
e965a0
--
e965a0
2.14.3