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. --- tmux.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tmux.c') diff --git a/tmux.c b/tmux.c index 4dff5925..3e9affc1 100644 --- a/tmux.c +++ b/tmux.c @@ -1,4 +1,4 @@ -/* $Id: tmux.c,v 1.171 2009-09-04 20:37:40 tcunha Exp $ */ +/* $Id: tmux.c,v 1.172 2009-09-19 18:53:01 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -422,6 +422,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); -- cgit