comparison src/structs.h @ 13438:33eea5ce5415 v8.0.1593

patch 8.0.1593: :qall never exits with an active terminal window commit https://github.com/vim/vim/commit/25cdd9c33b21ddbd31321c075873bb225450d2d2 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 10 20:28:12 2018 +0100 patch 8.0.1593: :qall never exits with an active terminal window Problem: :qall never exits with an active terminal window. Solution: Add a way to kill a job in a terminal window.
author Christian Brabandt <cb@256bit.org>
date Sat, 10 Mar 2018 20:30:04 +0100
parents fa198b71bab2
children ab89131d30e0
comparison
equal deleted inserted replaced
13437:02b3f719eacb 13438:33eea5ce5415
1705 #define JO2_CURWIN 0x0200 /* "curwin" */ 1705 #define JO2_CURWIN 0x0200 /* "curwin" */
1706 #define JO2_HIDDEN 0x0400 /* "hidden" */ 1706 #define JO2_HIDDEN 0x0400 /* "hidden" */
1707 #define JO2_TERM_OPENCMD 0x0800 /* "term_opencmd" */ 1707 #define JO2_TERM_OPENCMD 0x0800 /* "term_opencmd" */
1708 #define JO2_EOF_CHARS 0x1000 /* "eof_chars" */ 1708 #define JO2_EOF_CHARS 0x1000 /* "eof_chars" */
1709 #define JO2_NORESTORE 0x2000 /* "norestore" */ 1709 #define JO2_NORESTORE 0x2000 /* "norestore" */
1710 #define JO2_ALL 0x2FFF 1710 #define JO2_TERM_KILL 0x4000 /* "term_kill" */
1711 #define JO2_ALL 0x7FFF
1711 1712
1712 #define JO_MODE_ALL (JO_MODE + JO_IN_MODE + JO_OUT_MODE + JO_ERR_MODE) 1713 #define JO_MODE_ALL (JO_MODE + JO_IN_MODE + JO_OUT_MODE + JO_ERR_MODE)
1713 #define JO_CB_ALL \ 1714 #define JO_CB_ALL \
1714 (JO_CALLBACK + JO_OUT_CALLBACK + JO_ERR_CALLBACK + JO_CLOSE_CALLBACK) 1715 (JO_CALLBACK + JO_OUT_CALLBACK + JO_ERR_CALLBACK + JO_CLOSE_CALLBACK)
1715 #define JO_TIMEOUT_ALL (JO_TIMEOUT + JO_OUT_TIMEOUT + JO_ERR_TIMEOUT) 1716 #define JO_TIMEOUT_ALL (JO_TIMEOUT + JO_OUT_TIMEOUT + JO_ERR_TIMEOUT)
1773 int jo_term_norestore; 1774 int jo_term_norestore;
1774 char_u *jo_term_name; 1775 char_u *jo_term_name;
1775 char_u *jo_term_opencmd; 1776 char_u *jo_term_opencmd;
1776 int jo_term_finish; 1777 int jo_term_finish;
1777 char_u *jo_eof_chars; 1778 char_u *jo_eof_chars;
1779 char_u *jo_term_kill;
1778 #endif 1780 #endif
1779 } jobopt_T; 1781 } jobopt_T;
1780 1782
1781 1783
1782 /* structure used for explicit stack while garbage collecting hash tables */ 1784 /* structure used for explicit stack while garbage collecting hash tables */