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:
Nicholas Marriott
2009-09-18 15:19:27 +00:00
parent 5c60162e3c
commit 63d499f480
4 changed files with 33 additions and 13 deletions

1
tmux.c
View File

@ -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);