1
0
forked from aniani/vim

patch 8.0.0912: cannot run a job in a hidden terminal

Problem:    Cannot run a job in a hidden terminal.
Solution:   Add option "hidden" and ++hidden.
This commit is contained in:
Bram Moolenaar
2017-08-12 14:32:32 +02:00
parent b81bc77ae7
commit 8cad930a25
7 changed files with 103 additions and 18 deletions

View File

@@ -1692,7 +1692,8 @@ struct channel_S {
#define JO2_TERM_COLS 0x0080 /* "term_cols" */
#define JO2_VERTICAL 0x0100 /* "vertical" */
#define JO2_CURWIN 0x0200 /* "curwin" */
#define JO2_ALL 0x03FF
#define JO2_HIDDEN 0x0400 /* "hidden" */
#define JO2_ALL 0x07FF
#define JO_MODE_ALL (JO_MODE + JO_IN_MODE + JO_OUT_MODE + JO_ERR_MODE)
#define JO_CB_ALL \
@@ -1754,6 +1755,7 @@ typedef struct
int jo_term_cols;
int jo_vertical;
int jo_curwin;
int jo_hidden;
char_u *jo_term_name;
int jo_term_finish;
#endif