18
6
By default, tmux will show the title of the focused pane in the status bar. After using rename-window
to set a title manually, how do you restore the default behavior?
First idea was to set a blank title, which didn't work. According to the soruce code, it sets the window option "automatic-rename" to 0, but doing things like setw -g automatic-rename on
doesn't seem to have any effect (aside from confirming that the option was set).
This still does not restore any dynamically set window names while you had another name set, which is what I wanted (either restore old title, or revert to whatever was set last). But it doesn't look like this is possible without a patch so thanks anyways. – tripflag – 2015-09-19T19:04:00.620
2@tripflag, yes, it does. I've just tried it. – Atcold – 2015-10-30T15:30:19.840
3Just to make it clearer to everybody, you have to type your tmux prefix (commonly Ctrl-B) then colon
:
then yoursetw
stuff – Davide – 2016-09-27T21:43:11.323