summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-02-21 01:44:39 +0000
committerZac Medico <zmedico@gentoo.org>2006-02-21 01:44:39 +0000
commite7441df24ad0314b2aaf0fbcfcc9895309a0ff19 (patch)
tree4396a6eefa21d5286e36aa20408fc2895f2e4c9f
parentPatch by marienz to generate default_xterm_title just in time with python ins... (diff)
downloadportage-multirepo-e7441df24ad0314b2aaf0fbcfcc9895309a0ff19.tar.gz
portage-multirepo-e7441df24ad0314b2aaf0fbcfcc9895309a0ff19.tar.bz2
portage-multirepo-e7441df24ad0314b2aaf0fbcfcc9895309a0ff19.zip
Patch by Ed Catmur to add "gnome" to legal_terms in output.py.
svn path=/main/trunk/; revision=2756
-rw-r--r--pym/output.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/output.py b/pym/output.py
index e361e063..f23bac26 100644
--- a/pym/output.py
+++ b/pym/output.py
@@ -95,7 +95,7 @@ def nc_len(mystr):
def xtermTitle(mystr):
if havecolor and dotitles and os.environ.has_key("TERM") and sys.stderr.isatty():
myt=os.environ["TERM"]
- legal_terms = ["xterm","Eterm","aterm","rxvt","screen","kterm","rxvt-unicode"]
+ legal_terms = ["xterm","Eterm","aterm","rxvt","screen","kterm","rxvt-unicode","gnome"]
for term in legal_terms:
if myt.startswith(term):
sys.stderr.write("\x1b]2;"+str(mystr)+"\x07")