forked from aniani/vim
patch 8.2.0645: MS-Windows terminal: CTRL-C does not get to child job
Problem: MS-Windows terminal: CTRL-C does not get to child job. Solution: Remove CREATE_NEW_PROCESS_GROUP from CreateProcessW(). (Nobuhiro Takasaki, closes #5987)
This commit is contained in:
@@ -6300,8 +6300,7 @@ conpty_term_and_job_init(
|
|||||||
|
|
||||||
if (!CreateProcessW(NULL, cmd_wchar_copy, NULL, NULL, FALSE,
|
if (!CreateProcessW(NULL, cmd_wchar_copy, NULL, NULL, FALSE,
|
||||||
EXTENDED_STARTUPINFO_PRESENT | CREATE_UNICODE_ENVIRONMENT
|
EXTENDED_STARTUPINFO_PRESENT | CREATE_UNICODE_ENVIRONMENT
|
||||||
| CREATE_SUSPENDED | CREATE_NEW_PROCESS_GROUP
|
| CREATE_SUSPENDED | CREATE_DEFAULT_ERROR_MODE,
|
||||||
| CREATE_DEFAULT_ERROR_MODE,
|
|
||||||
env_wchar, cwd_wchar,
|
env_wchar, cwd_wchar,
|
||||||
&term->tl_siex.StartupInfo, &proc_info))
|
&term->tl_siex.StartupInfo, &proc_info))
|
||||||
goto failed;
|
goto failed;
|
||||||
|
@@ -746,6 +746,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
645,
|
||||||
/**/
|
/**/
|
||||||
644,
|
644,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user