mirror of
https://github.com/digarok/gsplus.git
synced 2024-06-08 10:45:07 +00:00
win32 control-c handler
This commit is contained in:
parent
2d97efcaff
commit
1d1033f110
|
@ -1827,7 +1827,7 @@ void do_go() {
|
||||||
int ok;
|
int ok;
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
//SetConsoleCtrlHandler(ctrl_handler, 1);
|
SetConsoleCtrlHandler(ctrl_handler, 1);
|
||||||
#else
|
#else
|
||||||
/* if -g flag, start with debug shell ... */
|
/* if -g flag, start with debug shell ... */
|
||||||
if (isatty(STDIN_FILENO)) {
|
if (isatty(STDIN_FILENO)) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user