summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-set-window-option.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2009-07-14 20:20:04 +0000
committernicm <nicm@openbsd.org>2009-07-14 20:20:04 +0000
commit045d0dbaaaef5d281001a1acea474fd866006344 (patch)
treea6277f8321d826cd5245665b6bec560bab21f2ce /usr.bin/tmux/cmd-set-window-option.c
parentFor some reason when clearing status/message it was redrawing the entire client (diff)
downloadwireguard-openbsd-045d0dbaaaef5d281001a1acea474fd866006344.tar.xz
wireguard-openbsd-045d0dbaaaef5d281001a1acea474fd866006344.zip
Add main-pane-height to the options list (was missed before).
Diffstat (limited to 'usr.bin/tmux/cmd-set-window-option.c')
-rw-r--r--usr.bin/tmux/cmd-set-window-option.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/cmd-set-window-option.c b/usr.bin/tmux/cmd-set-window-option.c
index d5a29b4ae10..e674e04d5d0 100644
--- a/usr.bin/tmux/cmd-set-window-option.c
+++ b/usr.bin/tmux/cmd-set-window-option.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-set-window-option.c,v 1.4 2009/07/13 23:11:35 nicm Exp $ */
+/* $OpenBSD: cmd-set-window-option.c,v 1.5 2009/07/14 20:20:04 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -56,6 +56,7 @@ const struct set_option_entry set_window_option_table[NSETWINDOWOPTION] = {
SET_OPTION_CHOICE, 0, 0, set_option_clock_mode_style_list },
{ "force-height", SET_OPTION_NUMBER, 0, INT_MAX, NULL },
{ "force-width", SET_OPTION_NUMBER, 0, INT_MAX, NULL },
+ { "main-pane-height", SET_OPTION_NUMBER, 1, INT_MAX, NULL },
{ "main-pane-width", SET_OPTION_NUMBER, 1, INT_MAX, NULL },
{ "mode-attr", SET_OPTION_ATTRIBUTES, 0, 0, NULL },
{ "mode-bg", SET_OPTION_COLOUR, 0, 0, NULL },