patch 8.0.0916: cannot specify properties of window for terminal open
Problem: Cannot specify properties of window for when opening a window for
a finished terminal job.
Solution: Add "term_opencmd".
diff --git a/src/structs.h b/src/structs.h
index 767b0f4..91326f6 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -1693,7 +1693,8 @@
#define JO2_VERTICAL 0x0100 /* "vertical" */
#define JO2_CURWIN 0x0200 /* "curwin" */
#define JO2_HIDDEN 0x0400 /* "hidden" */
-#define JO2_ALL 0x07FF
+#define JO2_TERM_OPENCMD 0x0800 /* "term_opencmd" */
+#define JO2_ALL 0x0FFF
#define JO_MODE_ALL (JO_MODE + JO_IN_MODE + JO_OUT_MODE + JO_ERR_MODE)
#define JO_CB_ALL \
@@ -1757,6 +1758,7 @@
int jo_curwin;
int jo_hidden;
char_u *jo_term_name;
+ char_u *jo_term_opencmd;
int jo_term_finish;
#endif
} jobopt_T;