]> granicus.if.org Git - vim/commitdiff
patch 8.2.0645: MS-Windows terminal: CTRL-C does not get to child job v8.2.0645
authorBram Moolenaar <Bram@vim.org>
Sun, 26 Apr 2020 14:06:01 +0000 (16:06 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 26 Apr 2020 14:06:01 +0000 (16:06 +0200)
Problem:    MS-Windows terminal: CTRL-C does not get to child job.
Solution:   Remove CREATE_NEW_PROCESS_GROUP from CreateProcessW(). (Nobuhiro
            Takasaki, closes #5987)

src/terminal.c
src/version.c

index 9d9dd6a6d321a37f271be263b18ef9cf69544e36..fa18d702259845180054a5517d7b088b0cd650b1 100644 (file)
@@ -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;
index 8c4cc71b20559004a791154e87d418db99669d30..392ac1893260e328194648c58d6b180cc628ac86 100644 (file)
@@ -746,6 +746,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    645,
 /**/
     644,
 /**/