win32 control-c handler

This commit is contained in:
Kelvin Sherlock 2019-04-07 00:30:06 -04:00
parent 2d97efcaff
commit 1d1033f110
1 changed files with 1 additions and 1 deletions

View File

@ -1827,7 +1827,7 @@ void do_go() {
int ok;
#ifdef _WIN32
//SetConsoleCtrlHandler(ctrl_handler, 1);
SetConsoleCtrlHandler(ctrl_handler, 1);
#else
/* if -g flag, start with debug shell ... */
if (isatty(STDIN_FILENO)) {