diff --git a/src/win/conpty.cc b/src/win/conpty.cc index 1b5a74949..9b4c58a2c 100644 --- a/src/win/conpty.cc +++ b/src/win/conpty.cc @@ -198,6 +198,9 @@ static NAN_METHOD(PtyStartProcess) { HPCON hpc; HRESULT hr = CreateNamedPipesAndPseudoConsole({cols, rows}, 0, &hIn, &hOut, &hpc, inName, outName, pipeName); + // Restore default handling of ctrl+c + SetConsoleCtrlHandler(NULL, FALSE); + // Set return values marshal = Nan::New();