Kill the double xterm title codes.
authorJason Stubbs <jstubbs@gentoo.org>
Sun, 1 Jan 2006 05:57:36 +0000 (05:57 -0000)
committerJason Stubbs <jstubbs@gentoo.org>
Sun, 1 Jan 2006 05:57:36 +0000 (05:57 -0000)
svn path=/main/trunk/; revision=2515

pym/output.py

index ec538f273520172271d8db6e4b163fc9e1de7685..ac57fe36677a166114bcd6a06eedbab1035db52a 100644 (file)
@@ -102,7 +102,7 @@ def xtermTitle(mystr):
                                sys.stderr.flush()
                                break
 
-prompt_command = os.getenv("PROMPT_COMMAND", 'echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"')
+prompt_command = os.getenv("PROMPT_COMMAND", 'echo -ne "${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}"')
 default_xterm_title = commands.getoutput(prompt_command)
 del prompt_command