changeset 952:59f1898cec60

except bin/listsongs from the titlebar trick, since its output is used for cmdline completion Ignore-this: 3ccd4e8b14605309e1a1080018b43bdf
author drewp@bigasterisk.com
date Fri, 14 Jun 2013 05:29:55 +0000
parents 1e01727312f0
children 891f2d75c686
files bin/run_local.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bin/run_local.py	Fri Jun 14 05:29:19 2013 +0000
+++ b/bin/run_local.py	Fri Jun 14 05:29:55 2013 +0000
@@ -34,7 +34,8 @@
     if os.environ.get('TERM', '') in ['xterm']:
         print "\033]0;%s\007" % s # not escaped/protected correctly
 
-setTerminalTitle(sys.argv[0])
+if 'listsongs' not in sys.argv[0]:
+    setTerminalTitle(sys.argv[0])
 
 # see http://www.youtube.com/watch?v=3cIOT9kM--g for commands that make
 # profiles and set background images