mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 06:58:22 +00:00
console: behave better
This commit is contained in:
@@ -299,6 +299,7 @@ void consoledev_init(){
|
|||||||
if(!thread)
|
if(!thread)
|
||||||
_panic("Failed to initialise console thread", 0);
|
_panic("Failed to initialise console thread", 0);
|
||||||
|
|
||||||
|
tty.c_iflag = ICRNL;
|
||||||
tty.c_lflag = ECHO | ICANON | ISIG;
|
tty.c_lflag = ECHO | ICANON | ISIG;
|
||||||
tty.c_cc[VINTR] = 0x03;
|
tty.c_cc[VINTR] = 0x03;
|
||||||
tty.ibaud = 38400;
|
tty.ibaud = 38400;
|
||||||
|
|||||||
Reference in New Issue
Block a user