diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-08-11 21:51:23 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-08-11 21:51:23 +0200 |
commit | 08d384ff3aa0366c18fb87ed215b1b4bdf9b1745 (patch) | |
tree | 82bc9560e86e147774f27b096124968385c07434 /src/structs.h | |
parent | 89e06c807ac63030dd163092e1c58f9ce350aeee (diff) | |
download | vim-git-08d384ff3aa0366c18fb87ed215b1b4bdf9b1745.tar.gz |
patch 8.0.0908: cannot set terminal size with optionsv8.0.0908
Problem: Cannot set terminal size with options.
Solution: Add "term_rows", "term_cols" and "vertical".
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/structs.h b/src/structs.h index 16f2cc1d0..67b4a9b20 100644 --- a/src/structs.h +++ b/src/structs.h @@ -1688,7 +1688,10 @@ struct channel_S { #define JO2_TERM_FINISH 0x0008 /* "term_finish" */ #define JO2_ENV 0x0010 /* "env" */ #define JO2_CWD 0x0020 /* "cwd" */ -#define JO2_ALL 0x003F +#define JO2_TERM_ROWS 0x0040 /* "term_rows" */ +#define JO2_TERM_COLS 0x0080 /* "term_cols" */ +#define JO2_VERTICAL 0x0100 /* "vertical" */ +#define JO2_ALL 0x01FF #define JO_MODE_ALL (JO_MODE + JO_IN_MODE + JO_OUT_MODE + JO_ERR_MODE) #define JO_CB_ALL \ @@ -1748,6 +1751,7 @@ typedef struct /* when non-zero run the job in a terminal window of this size */ int jo_term_rows; int jo_term_cols; + int jo_vertical; char_u *jo_term_name; int jo_term_finish; #endif |