summaryrefslogtreecommitdiffstats
path: root/cmd-set-option.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2010-12-19 18:35:08 +0000
committerNicholas Marriott <nicm@openbsd.org>2010-12-19 18:35:08 +0000
commitc198664d151f51575ebf7f445f5f26d61e1b67a2 (patch)
tree01bb63b6efb5a8d30c8a165f8ec279e927c12fda /cmd-set-option.c
parent8715247a43c05fe68d6ab2062b0d23c8777c7671 (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 'cmd-set-option.c')
-rw-r--r--cmd-set-option.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd-set-option.c b/cmd-set-option.c
index 7856a52e..5c5c70ae 100644
--- a/cmd-set-option.c
+++ b/cmd-set-option.c
@@ -159,6 +159,8 @@ const struct set_option_entry set_window_option_table[] = {
{ "monitor-activity", SET_OPTION_FLAG, 0, 0, NULL },
{ "monitor-content", SET_OPTION_STRING, 0, 0, NULL },
{ "monitor-silence",SET_OPTION_NUMBER, 0, INT_MAX, NULL},
+ { "other-pane-height", SET_OPTION_NUMBER, 0, INT_MAX, NULL },
+ { "other-pane-width", SET_OPTION_NUMBER, 0, INT_MAX, NULL },
{ "remain-on-exit", SET_OPTION_FLAG, 0, 0, NULL },
{ "synchronize-panes", SET_OPTION_FLAG, 0, 0, NULL },
{ "utf8", SET_OPTION_FLAG, 0, 0, NULL },