From 0be74123764f6b17b9cad6a29a46da76a856f85a Mon Sep 17 00:00:00 2001 From: nick black Date: Sat, 4 Sep 2021 18:17:07 -0400 Subject: [PATCH] only synthesize signals on non-windows #2131 --- src/lib/input.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/input.c b/src/lib/input.c index fe897e437..67f0defc4 100644 --- a/src/lib/input.c +++ b/src/lib/input.c @@ -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;