patch 8.0.0908: cannot set terminal size with options
Problem: Cannot set terminal size with options.
Solution: Add "term_rows", "term_cols" and "vertical".
diff --git a/src/structs.h b/src/structs.h
index 16f2cc1..67b4a9b 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -1688,7 +1688,10 @@
#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 @@
/* 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