From: Simon Stelling Date: Tue, 2 May 2006 13:08:53 +0000 (-0000) Subject: use escaping code that works for mrxvt too; thanks to nelchael for the patch; bug... X-Git-Tag: v2.1_rc1~35 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6dcb13f36fdccdcf6ecb87f44da061d309d5cd74;p=portage.git use escaping code that works for mrxvt too; thanks to nelchael for the patch; bug 117509 svn path=/main/trunk/; revision=3306 --- 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