add xterm-color and interix to list of valid terminals
authorMarius Mauch <genone@gentoo.org>
Tue, 13 May 2008 22:50:48 +0000 (22:50 -0000)
committerMarius Mauch <genone@gentoo.org>
Tue, 13 May 2008 22:50:48 +0000 (22:50 -0000)
svn path=/main/trunk/; revision=10329

pym/portage/output.py

index 0cc6fda2c68af5bdd9d0be09aeee43f18a71d025..e9a1a559a73c8233a41db6fed9217a4b0af92c8c 100644 (file)
@@ -246,7 +246,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: