echo \\033]2\;$(hostname)\\007
On Sun, Jul 25, 2010 at 04:01:12PM +0200, frantisek holop wrote: > hi there, > > i am sure it happens to everyone once in a while > that a rogue program sets the window title in tmux's > status line to something unexpected, like > "1:z!KB$+,*kB4EB4q*uEE"QCaKKEB-ot7B(Fu`E%B D0XD*" > and stays there no matter what... > > as running subsequent programs never changes the title again, > this seems like a bug to me, but apart from that, i think > it would be nice to have a kind of "echo ^[c" for tmux, > a way to reset the window title to it's basic form (current > running program). is there an easy way to do that? > for example re-setting 'set -g status-right "[#S]"' > is not making a change.. > > -f > -- > if people listened to themselves more often, they would shut up.