mirror of
https://github.com/digarok/gsplus.git
synced 2024-06-17 22:29:48 +00:00
win32 control-c handler
This commit is contained in:
parent
2d97efcaff
commit
1d1033f110
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user