mirror of
https://github.com/tmate-io/tmate.git
synced 2024-11-30 12:04:38 +01:00
Add main-pane-height to the options list (was missed before).
This commit is contained in:
parent
f08c9b2217
commit
615d85fb23
@ -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 },
|
SET_OPTION_CHOICE, 0, 0, set_option_clock_mode_style_list },
|
||||||
{ "force-height", SET_OPTION_NUMBER, 0, INT_MAX, NULL },
|
{ "force-height", SET_OPTION_NUMBER, 0, INT_MAX, NULL },
|
||||||
{ "force-width", 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 },
|
{ "main-pane-width", SET_OPTION_NUMBER, 1, INT_MAX, NULL },
|
||||||
{ "mode-attr", SET_OPTION_ATTRIBUTES, 0, 0, NULL },
|
{ "mode-attr", SET_OPTION_ATTRIBUTES, 0, 0, NULL },
|
||||||
{ "mode-bg", SET_OPTION_COLOUR, 0, 0, NULL },
|
{ "mode-bg", SET_OPTION_COLOUR, 0, 0, NULL },
|
||||||
|
2
tmux.h
2
tmux.h
@ -942,7 +942,7 @@ struct set_option_entry {
|
|||||||
extern const struct set_option_entry set_option_table[];
|
extern const struct set_option_entry set_option_table[];
|
||||||
extern const struct set_option_entry set_window_option_table[];
|
extern const struct set_option_entry set_window_option_table[];
|
||||||
#define NSETOPTION 26
|
#define NSETOPTION 26
|
||||||
#define NSETWINDOWOPTION 19
|
#define NSETWINDOWOPTION 20
|
||||||
|
|
||||||
/* tmux.c */
|
/* tmux.c */
|
||||||
extern volatile sig_atomic_t sigwinch;
|
extern volatile sig_atomic_t sigwinch;
|
||||||
|
Loading…
Reference in New Issue
Block a user