[asterisk-commits] twilson: branch 1.8 r330107 - /branches/1.8/main/term.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jul 28 16:42:45 CDT 2011


Author: twilson
Date: Thu Jul 28 16:42:41 2011
New Revision: 330107

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=330107
Log:
Make console colors work for TERM=xterm-256color

Modified:
    branches/1.8/main/term.c

Modified: branches/1.8/main/term.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/main/term.c?view=diff&rev=330107&r1=330106&r2=330107
==============================================================================
--- branches/1.8/main/term.c (original)
+++ branches/1.8/main/term.c Thu Jul 28 16:42:41 2011
@@ -143,6 +143,8 @@
 		} else if (!strcmp(term, "xterm")) {
 			vt100compat = 1;
 		} else if (!strcmp(term, "xterm-color")) {
+			vt100compat = 1;
+		} else if (!strcmp(term, "xterm-256color")) {
 			vt100compat = 1;
 		} else if (!strncmp(term, "Eterm", 5)) {
 			/* Both entries which start with Eterm support color */




More information about the asterisk-commits mailing list