From 23d7ed3187512ad53984051069a70eca4fb99edb Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Sat, 19 Sep 2009 18:53:01 +0000 Subject: Sync OpenBSD patchset 331: 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. --- cmd-set-option.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cmd-set-option.c') diff --git a/cmd-set-option.c b/cmd-set-option.c index 52d79395..283f3692 100644 --- a/cmd-set-option.c +++ b/cmd-set-option.c @@ -1,4 +1,4 @@ -/* $Id: cmd-set-option.c,v 1.78 2009-09-02 01:02:44 tcunha Exp $ */ +/* $Id: cmd-set-option.c,v 1.79 2009-09-19 18:53:01 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -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 }, -- cgit