From e7f72d38835c665edfabbb6ec5d5e83edb9bf328 Mon Sep 17 00:00:00 2001 From: Matheus Date: Sun, 16 Oct 2022 00:42:20 -0300 Subject: [PATCH] console: behave better --- src/video/consoledev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/video/consoledev.c b/src/video/consoledev.c index 57eb2dfd..895d8ce5 100644 --- a/src/video/consoledev.c +++ b/src/video/consoledev.c @@ -299,6 +299,7 @@ void consoledev_init(){ if(!thread) _panic("Failed to initialise console thread", 0); + tty.c_iflag = ICRNL; tty.c_lflag = ECHO | ICANON | ISIG; tty.c_cc[VINTR] = 0x03; tty.ibaud = 38400;