Changeset - 770b0d0005fc
[Not reviewed]
default
0 1 0
Drew Perttula - 11 years ago 2014-06-09 03:06:56
drewp@bigasterisk.com
command shell title support on TERM=rxvt too
Ignore-this: dcacb69845fef0db6b62376274d16fe6
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
bin/run_local.py
Show inline comments
 
@@ -36,7 +36,7 @@ log.addHandler(CSH(show_hostname=False, 
 

	
 

	
 
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]:
0 comments (0 inline, 0 general)