Merged revisions 330107 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r330107 | twilson | 2011-07-28 16:42:41 -0500 (Thu, 28 Jul 2011) | 2 lines
  
  Make console colors work for TERM=xterm-256color
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@330108 65c4cc65-6c06-0410-ace0-fbb531ad65f3
10-digiumphones
Terry Wilson 14 years ago
parent e1b5f9acb1
commit a641a9e06b

@ -144,6 +144,8 @@ int ast_term_init(void)
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 */
vt100compat = 1;

Loading…
Cancel
Save