Mercurial > vim
diff src/structs.h @ 12064:407a475c67fd v8.0.0912
patch 8.0.0912: cannot run a job in a hidden terminal
commit https://github.com/vim/vim/commit/8cad930a259a05a95c7d0c527a5881d5f9a59057
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 12 14:32:32 2017 +0200
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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 12 Aug 2017 14:45:04 +0200 |
parents | a879814b8a37 |
children | f4e1e1e6886b |
line wrap: on
line diff
--- a/src/structs.h +++ b/src/structs.h @@ -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