Sync OpenBSD patchset 147:

Add a status-justify option to allow the window list in the status line to be
positioned at the left, centre, or right.
This commit is contained in:
Tiago Cunha
2009-07-20 16:01:07 +00:00
parent e8957009c7
commit 9a07e8f372
4 changed files with 31 additions and 5 deletions

3
tmux.c
View File

@ -1,4 +1,4 @@
/* $Id: tmux.c,v 1.145 2009-07-20 15:57:05 tcunha Exp $ */
/* $Id: tmux.c,v 1.146 2009-07-20 16:01:07 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -312,6 +312,7 @@ main(int argc, char **argv)
options_set_number(&global_s_options, "status-fg", 0);
options_set_number(&global_s_options, "status-interval", 15);
options_set_number(&global_s_options, "status-keys", MODEKEY_EMACS);
options_set_number(&global_s_options, "status-justify", 0);
options_set_number(&global_s_options, "status-left-length", 10);
options_set_number(&global_s_options, "status-right-length", 40);
options_set_string(&global_s_options, "status-left", "[#S]");