From: Fabian Groffen Date: Sat, 1 Mar 2008 17:55:34 +0000 (-0000) Subject: Add xterm-color and interix as legal termins such that title setting by Portage works... X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=00b55cf29bdc7e0780407f4e6572ccb2f4874ef2;p=portage.git Add xterm-color and interix as legal termins such that title setting by Portage works on those terminals. For interix, bug #211875, thanks Markus Duft svn path=/main/branches/prefix/; revision=9405 --- diff --git a/pym/portage/output.py b/pym/portage/output.py index c491897f4..2b4d700d0 100644 --- a/pym/portage/output.py +++ b/pym/portage/output.py @@ -243,7 +243,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: