diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2010-12-19 18:35:09 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2010-12-19 18:35:09 +0000 |
commit | 982cfcb5740407f427a8de0b03cd465ebd0c6337 (patch) | |
tree | 9b59c3d613cc4c577e112a86c79375ca69698102 /usr.bin/tmux/tmux.c | |
parent | d24ecc24fc053f9208b60a7b31be888b016c17a8 (diff) |
Add other-pane-height and other-pane-width options, allowing the width
or height of the smaller panes in the main-horizontal and main-vertical
layouts to be set. Mostly from David Goodlad.
Diffstat (limited to 'usr.bin/tmux/tmux.c')
-rw-r--r-- | usr.bin/tmux/tmux.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.c b/usr.bin/tmux/tmux.c index d07308a3ba3..75f1a1da14c 100644 --- a/usr.bin/tmux/tmux.c +++ b/usr.bin/tmux/tmux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.c,v 1.96 2010/12/08 19:57:03 nicm Exp $ */ +/* $OpenBSD: tmux.c,v 1.97 2010/12/19 18:35:08 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -404,6 +404,8 @@ main(int argc, char **argv) options_set_number(wo, "monitor-activity", 0); options_set_string(wo, "monitor-content", "%s", ""); options_set_number(wo, "monitor-silence", 0); + options_set_number(wo, "other-pane-height", 0); + options_set_number(wo, "other-pane-width", 0); options_set_number(wo, "window-status-attr", 0); options_set_number(wo, "window-status-bg", 8); options_set_number(wo, "window-status-current-attr", 0); |