summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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