summaryrefslogtreecommitdiffstats
path: root/src/globals.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-08-12 14:52:15 +0200
committerBram Moolenaar <Bram@vim.org>2017-08-12 14:52:15 +0200
commit9698ad7201ca1a3acec69679f1ab8b15323ff406 (patch)
tree2152ad953198c606407f3c600f2ade1b3467a3bf /src/globals.h
parent8cad930a259a05a95c7d0c527a5881d5f9a59057 (diff)
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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h
index d0938fda64..d420560988 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.
*/