Mercurial > code > home > repos > light9
diff bin/run_local.py @ 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 | f92550d33004 |
children | e6121f8a9f87 |
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