summaryrefslogtreecommitdiffstats
path: root/tmux.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-09-18 15:19:27 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-09-18 15:19:27 +0000
commit63d499f480e264f8251552fb6d16965a1065e0e6 (patch)
treeb5d14ca954947eda66d20562649e43b7da792adf /tmux.c
parent5c60162e3c4f8ac9deede6c0fb5a21930d92e3b4 (diff)
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.
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tmux.c b/tmux.c
index 66ba8767..d75de607 100644
--- a/tmux.c
+++ b/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);