Change of vterm handling logic on backend chardev input event (#40)
[lunaix-os.git] / lunaix-os / usr / init / init.c
index 2416e07836a6e243131b08096a73710c1acf3c7c..47fcf68e0ae7739e4cc73ea97dfaeb2b6773f700 100644 (file)
@@ -36,6 +36,9 @@ init_termios(int fd) {
     term.c_oflag = ONLCR | OPOST;
     term.c_cflag = CREAD | CLOCAL | CS8 | CPARENB;
     term.c_cc[VERASE] = 0x7f;
+    
+    cfsetispeed(&term, B9600);
+    cfsetospeed(&term, B9600);
 
     check(tcsetattr(fd, 0, &term));