include status support for xterm-color and interix
Attached patch adds statusbar support for xterm-color and interix
terminals.
--
Fabian Groffen
Gentoo on a different level
--- ../../trunk/pym/portage/output.py 2008-05-12 19:25:13 +0200
+++ ./pym/portage/output.py 2008-05-08 21:17:50 +0200
@@ -246,7 +246,7 @@
if len(mystr) > max_len:
mystr = mystr[:max_len]
myt=os.environ["TERM"]
- legal_terms = ["xterm","Eterm","aterm","rxvt","screen","kterm","r xvt-unicode","gnome"]
+ legal_terms = ["xterm","xterm-color","Eterm","aterm","rxvt","screen","kterm","rx vt-unicode","gnome","interix"]
for term in legal_terms:
if myt.startswith(term):
if not raw: