Mercurial > vim
changeset 20179:28d82a342331 v8.2.0645
patch 8.2.0645: MS-Windows terminal: CTRL-C does not get to child job
Commit: https://github.com/vim/vim/commit/07b761a012958ca91fa420f9c86a33675ddca943
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Apr 26 16:06:01 2020 +0200
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 26 Apr 2020 16:15:03 +0200 |
parents | 2fb397573541 |
children | 6ac0d289f8e7 |
files | src/terminal.c src/version.c |
diffstat | 2 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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;