From 00b55cf29bdc7e0780407f4e6572ccb2f4874ef2 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Sat, 1 Mar 2008 17:55:34 +0000 Subject: [PATCH] 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 --- pym/portage/output.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.26.2