summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Stelling <blubb@gentoo.org>2006-05-02 13:08:53 +0000
committerSimon Stelling <blubb@gentoo.org>2006-05-02 13:08:53 +0000
commit6dcb13f36fdccdcf6ecb87f44da061d309d5cd74 (patch)
tree98f51209f581af4c7918bbc48f948980896028fd
parent8c037c053bfad3c8a3733912a0ba44bc23069fe4 (diff)
downloadportage-6dcb13f36fdccdcf6ecb87f44da061d309d5cd74.tar.gz
portage-6dcb13f36fdccdcf6ecb87f44da061d309d5cd74.tar.bz2
portage-6dcb13f36fdccdcf6ecb87f44da061d309d5cd74.zip
use escaping code that works for mrxvt too; thanks to nelchael for the patch; bug 117509
svn path=/main/trunk/; revision=3306
-rw-r--r--pym/output.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/output.py b/pym/output.py
index 5d5247bed..fe15ea471 100644
--- a/pym/output.py
+++ b/pym/output.py
@@ -173,7 +173,7 @@ def xtermTitle(mystr):
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")
+ sys.stderr.write("\x1b]0;"+str(mystr)+"\x07")
sys.stderr.flush()
break