summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2009-07-20 14:32:10 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2009-07-20 14:32:10 +0000
commit90f8049d951a1efee3c9711526e0c6b05cbd24a9 (patch)
treed20ae98539c286a5032b776ce73abc7ce47003e0 /usr.bin/tmux/tmux.c
parentd26166b47eaf7b984961b0f08baf9e1e19c10982 (diff)
Add a status-justify option to allow the window list in the status line to be
positioned at the left, centre, or right.
Diffstat (limited to 'usr.bin/tmux/tmux.c')
-rw-r--r--usr.bin/tmux/tmux.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.c b/usr.bin/tmux/tmux.c
index 690cc3062cc..d0260a1ffe3 100644
--- a/usr.bin/tmux/tmux.c
+++ b/usr.bin/tmux/tmux.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.c,v 1.17 2009/07/20 09:15:18 nicm Exp $ */
+/* $OpenBSD: tmux.c,v 1.18 2009/07/20 14:32:09 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -303,6 +303,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]");