From 8ba6088c1158a4c371bc30e09a65add0cf4e0ee6 Mon Sep 17 00:00:00 2001 From: Yashbhatt7 Date: Thu, 23 Oct 2025 21:18:58 +0530 Subject: [PATCH] Ignore Ctrl+D in editorProcessKeypress() --- kilo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kilo.c b/kilo.c index 0d8aef4e..621358c4 100644 --- a/kilo.c +++ b/kilo.c @@ -1192,6 +1192,8 @@ void editorProcessKeypress(int fd) { int c = editorReadKey(fd); switch(c) { + case CTRL_D: + break; case ENTER: /* Enter */ editorInsertNewline(); break;