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:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user