only synthesize signals on non-windows #2131

This commit is contained in:
nick black 2021-09-04 18:17:07 -04:00
parent 2268328b3d
commit 0be7412376
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -554,6 +554,7 @@ handle_queued_input(ncinputlayer* nc, ncinput* ni,
if(ret == NCKEY_CURSOR_LOCATION_REPORT){
enqueue_cursor_report(nc, ni);
}else if(ni->ctrl && !ni->shift && !ni->alt){
#ifndef __MINGW64__
if(ret == 'c'){
raise(SIGINT); // FIXME only if linesigs aren't disabled
continue;
@ -564,6 +565,7 @@ handle_queued_input(ncinputlayer* nc, ncinput* ni,
raise(SIGQUIT); // FIXME only if linesigs aren't disabled
continue;
}
#endif
}
}while(ret == NCKEY_CURSOR_LOCATION_REPORT);
return ret;