0
0
mirror of https://github.com/vim/vim.git synced 2025-11-14 23:04:02 -05:00

patch 8.0.0913: MS-Windows: CTRL-C kills shell in terminal window

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)
This commit is contained in:
Bram Moolenaar
2017-08-12 14:52:15 +02:00
parent 8cad930a25
commit 9698ad7201
5 changed files with 18 additions and 4 deletions

View File

@@ -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.
*/