diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-08-12 14:52:15 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-08-12 14:52:15 +0200 |
commit | 9698ad7201ca1a3acec69679f1ab8b15323ff406 (patch) | |
tree | 2152ad953198c606407f3c600f2ade1b3467a3bf /src/globals.h | |
parent | 8cad930a259a05a95c7d0c527a5881d5f9a59057 (diff) | |
download | vim-git-9698ad7201ca1a3acec69679f1ab8b15323ff406.tar.gz |
patch 8.0.0913: MS-Windows: CTRL-C kills shell in terminal windowv8.0.0913
Problem: MS-Windows: CTRL-C kills shell in terminal window instead of the
command running in the shell.
Solution: Make CTRL-C only send a CTRL_C_EVENT and have CTRL-BREAK kill the
job. (partly by Yasuhiro Matsumoto, closes #1962)
Diffstat (limited to 'src/globals.h')
-rw-r--r-- | src/globals.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h index d0938fda6..d42056098 100644 --- a/src/globals.h +++ b/src/globals.h @@ -1671,6 +1671,10 @@ EXTERN int did_echo_string_emsg INIT(= FALSE); EXTERN int *eval_lavars_used INIT(= NULL); #endif +#ifdef WIN3264 +EXTERN int ctrl_break_was_pressed = FALSE; +#endif + /* * Optional Farsi support. Include it here, so EXTERN and INIT are defined. */ |