comparison src/structs.h @ 12060:a879814b8a37 v8.0.0910

patch 8.0.0910: cannot create a terminal in the current window commit https://github.com/vim/vim/commit/da43b61dddcf81439a6f1716956a4e8d9046e68f Author: Bram Moolenaar <Bram@vim.org> Date: Fri Aug 11 22:27:50 2017 +0200 patch 8.0.0910: cannot create a terminal in the current window Problem: Cannot create a terminal in the current window. Solution: Add option "curwin" and ++curwin.
author Christian Brabandt <cb@256bit.org>
date Fri, 11 Aug 2017 22:30:06 +0200
parents 0498547dace0
children 407a475c67fd
comparison
equal deleted inserted replaced
12059:4ee89f4c6b25 12060:a879814b8a37
1689 #define JO2_ENV 0x0010 /* "env" */ 1689 #define JO2_ENV 0x0010 /* "env" */
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_ALL 0x01FF 1694 #define JO2_CURWIN 0x0200 /* "curwin" */
1695 #define JO2_ALL 0x03FF
1695 1696
1696 #define JO_MODE_ALL (JO_MODE + JO_IN_MODE + JO_OUT_MODE + JO_ERR_MODE) 1697 #define JO_MODE_ALL (JO_MODE + JO_IN_MODE + JO_OUT_MODE + JO_ERR_MODE)
1697 #define JO_CB_ALL \ 1698 #define JO_CB_ALL \
1698 (JO_CALLBACK + JO_OUT_CALLBACK + JO_ERR_CALLBACK + JO_CLOSE_CALLBACK) 1699 (JO_CALLBACK + JO_OUT_CALLBACK + JO_ERR_CALLBACK + JO_CLOSE_CALLBACK)
1699 #define JO_TIMEOUT_ALL (JO_TIMEOUT + JO_OUT_TIMEOUT + JO_ERR_TIMEOUT) 1700 #define JO_TIMEOUT_ALL (JO_TIMEOUT + JO_OUT_TIMEOUT + JO_ERR_TIMEOUT)
1750 #ifdef FEAT_TERMINAL 1751 #ifdef FEAT_TERMINAL
1751 /* when non-zero run the job in a terminal window of this size */ 1752 /* when non-zero run the job in a terminal window of this size */
1752 int jo_term_rows; 1753 int jo_term_rows;
1753 int jo_term_cols; 1754 int jo_term_cols;
1754 int jo_vertical; 1755 int jo_vertical;
1756 int jo_curwin;
1755 char_u *jo_term_name; 1757 char_u *jo_term_name;
1756 int jo_term_finish; 1758 int jo_term_finish;
1757 #endif 1759 #endif
1758 } jobopt_T; 1760 } jobopt_T;
1759 1761