aboutsummaryrefslogtreecommitdiff
path: root/cmd-set-option.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2010-12-22 15:23:59 +0000
committerTiago Cunha <tcunha@gmx.com>2010-12-22 15:23:59 +0000
commitd1bdc9a1614166aa8bee5163378d299a35c75a76 (patch)
tree6896b85327a90e0b5aabffad98ccf4377371fdfe /cmd-set-option.c
parentcd92f44686b165ea77d13b1b93b2ff80eadfe53f (diff)
downloadrtmux-d1bdc9a1614166aa8bee5163378d299a35c75a76.tar.gz
rtmux-d1bdc9a1614166aa8bee5163378d299a35c75a76.tar.bz2
rtmux-d1bdc9a1614166aa8bee5163378d299a35c75a76.zip
Sync OpenBSD patchset 799:
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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd-set-option.c b/cmd-set-option.c
index 5aae6694..2d99552c 100644
--- a/cmd-set-option.c
+++ b/cmd-set-option.c
@@ -1,4 +1,4 @@
-/* $Id: cmd-set-option.c,v 1.101 2010-12-06 22:52:20 nicm Exp $ */
+/* $Id: cmd-set-option.c,v 1.102 2010-12-22 15:23:59 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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 },