diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-07-15 17:44:25 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-07-15 17:44:25 +0000 |
commit | 6ebb1df8fe161678c3550e59774ec4894551ba3e (patch) | |
tree | 25dfa122159b20c42a98eea3d11876240fa8ee61 | |
parent | ff500b46c975ed156407cdcf69fafc9b22b61e2c (diff) | |
download | rtmux-6ebb1df8fe161678c3550e59774ec4894551ba3e.tar.gz rtmux-6ebb1df8fe161678c3550e59774ec4894551ba3e.tar.bz2 rtmux-6ebb1df8fe161678c3550e59774ec4894551ba3e.zip |
Add main-pane-height to the options list (was missed before).
-rw-r--r-- | cmd-set-window-option.c | 3 | ||||
-rw-r--r-- | tmux.h | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/cmd-set-window-option.c b/cmd-set-window-option.c index f42382a1..75c4d27f 100644 --- a/cmd-set-window-option.c +++ b/cmd-set-window-option.c @@ -1,4 +1,4 @@ -/* $Id: cmd-set-window-option.c,v 1.31 2009-07-14 06:43:33 nicm Exp $ */ +/* $Id: cmd-set-window-option.c,v 1.32 2009-07-15 17:44:25 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 }, @@ -1,4 +1,4 @@ -/* $Id: tmux.h,v 1.363 2009-07-15 17:43:45 nicm Exp $ */ +/* $Id: tmux.h,v 1.364 2009-07-15 17:44:25 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -941,7 +941,7 @@ struct set_option_entry { extern const struct set_option_entry set_option_table[]; extern const struct set_option_entry set_window_option_table[]; #define NSETOPTION 26 -#define NSETWINDOWOPTION 19 +#define NSETWINDOWOPTION 20 /* tmux.c */ extern volatile sig_atomic_t sigwinch; |