mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
New option, set-titles-string, to allow the window title to be specified (as
for status-left/right) if set-titles is on. Also only update the title when the status line is being redrawn.
This commit is contained in:
1
tmux.c
1
tmux.c
@ -413,6 +413,7 @@ main(int argc, char **argv)
|
||||
options_set_number(so, "repeat-time", 500);
|
||||
options_set_number(so, "set-remain-on-exit", 0);
|
||||
options_set_number(so, "set-titles", 0);
|
||||
options_set_string(so, "set-titles-string", "#S:#I:#W - \"#T\"");
|
||||
options_set_number(so, "status", 1);
|
||||
options_set_number(so, "status-attr", 0);
|
||||
options_set_number(so, "status-bg", 2);
|
||||
|
Reference in New Issue
Block a user