mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-03 20:38:59 +00:00
Merged revisions 330108 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10 ................ r330108 | twilson | 2011-07-28 16:44:31 -0500 (Thu, 28 Jul 2011) | 9 lines 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/trunk@330109 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user