Mercurial > code > home > repos > light9
changeset 1098:770b0d0005fc
command shell title support on TERM=rxvt too
Ignore-this: dcacb69845fef0db6b62376274d16fe6
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Mon, 09 Jun 2014 03:06:56 +0000 |
parents | f7618f29bb89 |
children | a58e8408f563 |
files | bin/run_local.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/run_local.py Mon Jun 09 03:05:32 2014 +0000 +++ b/bin/run_local.py Mon Jun 09 03:06:56 2014 +0000 @@ -36,7 +36,7 @@ def setTerminalTitle(s): - if os.environ.get('TERM', '') in ['xterm']: + if os.environ.get('TERM', '') in ['xterm', 'rxvt']: print "\033]0;%s\007" % s # not escaped/protected correctly if 'listsongs' not in sys.argv[0]: