diff options
author | Tiago Cunha <tcunha@gmx.com> | 2009-09-19 18:53:01 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2009-09-19 18:53:01 +0000 |
commit | 23d7ed3187512ad53984051069a70eca4fb99edb (patch) | |
tree | a3b667ce8643345061b3437911379365dac43ef7 /tmux.c | |
parent | a2e03ce3cbc91bc0a56bfd5828da08327f489681 (diff) | |
download | rtmux-23d7ed3187512ad53984051069a70eca4fb99edb.tar.gz rtmux-23d7ed3187512ad53984051069a70eca4fb99edb.tar.bz2 rtmux-23d7ed3187512ad53984051069a70eca4fb99edb.zip |
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.
Diffstat (limited to 'tmux.c')
-rw-r--r-- | tmux.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 <nicm@users.sourceforge.net> @@ -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); |