Mercurial > vim
diff 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 |
line wrap: on
line diff
--- a/src/structs.h +++ b/src/structs.h @@ -1707,7 +1707,8 @@ struct channel_S { #define JO2_TERM_OPENCMD 0x0800 /* "term_opencmd" */ #define JO2_EOF_CHARS 0x1000 /* "eof_chars" */ #define JO2_NORESTORE 0x2000 /* "norestore" */ -#define JO2_ALL 0x2FFF +#define JO2_TERM_KILL 0x4000 /* "term_kill" */ +#define JO2_ALL 0x7FFF #define JO_MODE_ALL (JO_MODE + JO_IN_MODE + JO_OUT_MODE + JO_ERR_MODE) #define JO_CB_ALL \ @@ -1775,6 +1776,7 @@ typedef struct char_u *jo_term_opencmd; int jo_term_finish; char_u *jo_eof_chars; + char_u *jo_term_kill; #endif } jobopt_T;