From c88e1df578a2be0bb3f0e8c00dd848ea202e3fae Mon Sep 17 00:00:00 2001 From: bx Date: Sun, 22 Jan 2023 09:14:34 +0000 Subject: [PATCH] disabled quitting with Ctrl + C, makes it harder to do by mistake --- input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input.c b/input.c index bcefee5..a2f08bb 100644 --- a/input.c +++ b/input.c @@ -460,7 +460,7 @@ static void keyCtrl(wchar_t ch) { break; case L'?': error = editFn(edit, EditDeletePrev); break; case L'A': error = editFn(edit, EditHead); break; case L'B': error = editFn(edit, EditPrev); - break; case L'C': raise(SIGINT); + /* break; case L'C': raise(SIGINT); */ break; case L'D': error = editFn(edit, EditDeleteNext); break; case L'E': error = editFn(edit, EditTail); break; case L'F': error = editFn(edit, EditNext);