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/gui_w32.c | |
parent | 8cad930a259a05a95c7d0c527a5881d5f9a59057 (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/gui_w32.c')
-rw-r--r-- | src/gui_w32.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c index a91e0710be..863975c7f4 100644 --- a/src/gui_w32.c +++ b/src/gui_w32.c @@ -1840,6 +1840,7 @@ process_message(void) { trash_input_buf(); got_int = TRUE; + ctrl_break_was_pressed = TRUE; string[0] = Ctrl_C; add_to_input_buf(string, 1); } |