summaryrefslogtreecommitdiffstats
path: root/cmd-set-option.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 /cmd-set-option.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 'cmd-set-option.c')
-rw-r--r--cmd-set-option.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd-set-option.c b/cmd-set-option.c
index 90cb6e0b..254a5767 100644
--- a/cmd-set-option.c
+++ b/cmd-set-option.c
@@ -69,6 +69,7 @@ const struct set_option_entry set_option_table[] = {
{ "repeat-time", SET_OPTION_NUMBER, 0, SHRT_MAX, NULL },
{ "set-remain-on-exit", SET_OPTION_FLAG, 0, 0, NULL },
{ "set-titles", SET_OPTION_FLAG, 0, 0, NULL },
+ { "set-titles-string", SET_OPTION_STRING, 0, 0, NULL },
{ "status", SET_OPTION_FLAG, 0, 0, NULL },
{ "status-attr", SET_OPTION_ATTRIBUTES, 0, 0, NULL },
{ "status-bg", SET_OPTION_COLOUR, 0, 0, NULL },