aboutsummaryrefslogtreecommitdiff
path: root/tmux.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-11-19 22:35:10 +0000
committerTiago Cunha <tcunha@gmx.com>2009-11-19 22:35:10 +0000
commitf9451028c0a7d3d53aa3aa2549bd9d632e9fc3b1 (patch)
tree3d17ba79b17cfa05ba90112f7209014249ce7af7 /tmux.c
parent1feea926ed83c15232df01756aed771afd7168f2 (diff)
downloadrtmux-f9451028c0a7d3d53aa3aa2549bd9d632e9fc3b1.tar.gz
rtmux-f9451028c0a7d3d53aa3aa2549bd9d632e9fc3b1.tar.bz2
rtmux-f9451028c0a7d3d53aa3aa2549bd9d632e9fc3b1.zip
Sync OpenBSD patchset 553:
Two new options, window-status-format and window-status-current-format, which allow the format of each window in the status line window list to be controlled using similar # sequences as status-left/right. This diff also moves part of the way towards UTF-8 support in window names but it isn't quite there yet.
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tmux.c b/tmux.c
index bc91c562..84a253cb 100644
--- a/tmux.c
+++ b/tmux.c
@@ -1,4 +1,4 @@
-/* $Id: tmux.c,v 1.190 2009-11-19 22:31:27 tcunha Exp $ */
+/* $Id: tmux.c,v 1.191 2009-11-19 22:35:10 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -394,6 +394,8 @@ main(int argc, char **argv)
options_set_number(wo, "window-status-current-bg", 8);
options_set_number(wo, "window-status-current-fg", 8);
options_set_number(wo, "window-status-fg", 8);
+ options_set_string(wo, "window-status-format", "#I:#W#F");
+ options_set_string(wo, "window-status-current-format", "#I:#W#F");
options_set_number(wo, "xterm-keys", 0);
options_set_number(wo, "remain-on-exit", 0);
options_set_number(wo, "synchronize-panes", 0);