common.c: bt_common_colors_supported(): add a few supported terminal prefixes
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 22 Feb 2017 18:18:53 +0000 (13:18 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 28 May 2017 16:57:38 +0000 (12:57 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
common/common.c

index 1d7eea43cf84a4777746e26631d737b2d3de55f6..c5b733a249b38e09d4d5d86bf660c69d4b95c1b9 100644 (file)
@@ -187,7 +187,10 @@ bool bt_common_colors_supported(void)
        if (strncmp(term, "xterm", 5) != 0 &&
                        strncmp(term, "rxvt", 4) != 0 &&
                        strncmp(term, "konsole", 7) != 0 &&
-                       strncmp(term, "gnome", 5) != 0) {
+                       strncmp(term, "gnome", 5) != 0 &&
+                       strncmp(term, "screen", 5) != 0 &&
+                       strncmp(term, "tmux", 4) != 0 &&
+                       strncmp(term, "putty", 5) != 0) {
                goto end;
        }
 
This page took 0.025894 seconds and 4 git commands to generate.