Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
12063:2372e456e821 | 12064:407a475c67fd |
---|---|
1690 #define JO2_CWD 0x0020 /* "cwd" */ | 1690 #define JO2_CWD 0x0020 /* "cwd" */ |
1691 #define JO2_TERM_ROWS 0x0040 /* "term_rows" */ | 1691 #define JO2_TERM_ROWS 0x0040 /* "term_rows" */ |
1692 #define JO2_TERM_COLS 0x0080 /* "term_cols" */ | 1692 #define JO2_TERM_COLS 0x0080 /* "term_cols" */ |
1693 #define JO2_VERTICAL 0x0100 /* "vertical" */ | 1693 #define JO2_VERTICAL 0x0100 /* "vertical" */ |
1694 #define JO2_CURWIN 0x0200 /* "curwin" */ | 1694 #define JO2_CURWIN 0x0200 /* "curwin" */ |
1695 #define JO2_ALL 0x03FF | 1695 #define JO2_HIDDEN 0x0400 /* "hidden" */ |
1696 #define JO2_ALL 0x07FF | |
1696 | 1697 |
1697 #define JO_MODE_ALL (JO_MODE + JO_IN_MODE + JO_OUT_MODE + JO_ERR_MODE) | 1698 #define JO_MODE_ALL (JO_MODE + JO_IN_MODE + JO_OUT_MODE + JO_ERR_MODE) |
1698 #define JO_CB_ALL \ | 1699 #define JO_CB_ALL \ |
1699 (JO_CALLBACK + JO_OUT_CALLBACK + JO_ERR_CALLBACK + JO_CLOSE_CALLBACK) | 1700 (JO_CALLBACK + JO_OUT_CALLBACK + JO_ERR_CALLBACK + JO_CLOSE_CALLBACK) |
1700 #define JO_TIMEOUT_ALL (JO_TIMEOUT + JO_OUT_TIMEOUT + JO_ERR_TIMEOUT) | 1701 #define JO_TIMEOUT_ALL (JO_TIMEOUT + JO_OUT_TIMEOUT + JO_ERR_TIMEOUT) |
1752 /* when non-zero run the job in a terminal window of this size */ | 1753 /* when non-zero run the job in a terminal window of this size */ |
1753 int jo_term_rows; | 1754 int jo_term_rows; |
1754 int jo_term_cols; | 1755 int jo_term_cols; |
1755 int jo_vertical; | 1756 int jo_vertical; |
1756 int jo_curwin; | 1757 int jo_curwin; |
1758 int jo_hidden; | |
1757 char_u *jo_term_name; | 1759 char_u *jo_term_name; |
1758 int jo_term_finish; | 1760 int jo_term_finish; |
1759 #endif | 1761 #endif |
1760 } jobopt_T; | 1762 } jobopt_T; |
1761 | 1763 |