mirror of
https://github.com/vim/vim.git
synced 2025-10-06 05:44:14 -04: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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user