console: behave better

This commit is contained in:
Matheus
2022-10-16 00:42:20 -03:00
parent a2c41882f3
commit e7f72d3883
+1
View File
@@ -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;