0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

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".
This commit is contained in:
Bram Moolenaar
2017-08-12 16:01:04 +02:00
parent 7eedd4398a
commit 37c4583594
6 changed files with 56 additions and 6 deletions

View File

@@ -1693,7 +1693,8 @@ struct channel_S {
#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 @@ typedef struct
int jo_curwin;
int jo_hidden;
char_u *jo_term_name;
char_u *jo_term_opencmd;
int jo_term_finish;
#endif
} jobopt_T;