add xterm-color and interix to list of valid terminals (trunk r10329)
authorZac Medico <zmedico@gentoo.org>
Tue, 13 May 2008 23:11:50 +0000 (23:11 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 13 May 2008 23:11:50 +0000 (23:11 -0000)
svn path=/main/branches/2.1.2/; revision=10332

pym/output.py

index 8990207976073cc34469f8a522d1ecebbf22260e..ff4bb62cf82314e1ac798a3761e65d413475691a 100644 (file)
@@ -240,7 +240,7 @@ def xtermTitle(mystr, raw=False):
                if len(mystr) > max_len:
                        mystr = mystr[:max_len]
                myt=os.environ["TERM"]
-               legal_terms = ["xterm","Eterm","aterm","rxvt","screen","kterm","rxvt-unicode","gnome"]
+               legal_terms = ["xterm","xterm-color","Eterm","aterm","rxvt","screen","kterm","rxvt-unicode","gnome","interix"]
                for term in legal_terms:
                        if myt.startswith(term):
                                if not raw: