about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/kilo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kilo.c b/src/kilo.c
index 174bdc3..14d7bef 100644
--- a/src/kilo.c
+++ b/src/kilo.c
@@ -1268,4 +1268,5 @@ void edit(char* filename) {
         editorRefreshScreen();
         editorProcessKeypress(STDIN_FILENO);
     }
+    disableRawMode(STDIN_FILENO);
 }