summary refs log tree commit diff
diff options
context:
space:
mode:
authorbx2023-01-22 09:14:34 +0000
committerbx2023-01-22 09:14:34 +0000
commitc88e1df578a2be0bb3f0e8c00dd848ea202e3fae (patch)
treeab9da37dd42b98983a3308eb2febf8a512b0edf7
parent7bae4f2285f4d53e0b1e873ea84c504aab725a19 (diff)
disabled quitting with Ctrl + C, makes it harder to do by mistake
-rw-r--r--input.c2
1 files changed, 1 insertions, 1 deletions
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);