diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-04-26 16:06:01 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-04-26 16:06:01 +0200 |
commit | 07b761a012958ca91fa420f9c86a33675ddca943 (patch) | |
tree | eff146da8cc8009b0f63f3e5afcdd4171ce953b8 | |
parent | 99fa721944dda9d07c53c907c33466728df5c271 (diff) | |
download | vim-git-07b761a012958ca91fa420f9c86a33675ddca943.tar.gz |
patch 8.2.0645: MS-Windows terminal: CTRL-C does not get to child jobv8.2.0645
Problem: MS-Windows terminal: CTRL-C does not get to child job.
Solution: Remove CREATE_NEW_PROCESS_GROUP from CreateProcessW(). (Nobuhiro
Takasaki, closes #5987)
-rw-r--r-- | src/terminal.c | 3 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/terminal.c b/src/terminal.c index 9d9dd6a6d..fa18d7022 100644 --- a/src/terminal.c +++ b/src/terminal.c @@ -6300,8 +6300,7 @@ conpty_term_and_job_init( if (!CreateProcessW(NULL, cmd_wchar_copy, NULL, NULL, FALSE, EXTENDED_STARTUPINFO_PRESENT | CREATE_UNICODE_ENVIRONMENT - | CREATE_SUSPENDED | CREATE_NEW_PROCESS_GROUP - | CREATE_DEFAULT_ERROR_MODE, + | CREATE_SUSPENDED | CREATE_DEFAULT_ERROR_MODE, env_wchar, cwd_wchar, &term->tl_siex.StartupInfo, &proc_info)) goto failed; diff --git a/src/version.c b/src/version.c index 8c4cc71b2..392ac1893 100644 --- a/src/version.c +++ b/src/version.c @@ -747,6 +747,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 645, +/**/ 644, /**/ 643, |