feat: a better boot command line parser
[lunaix-os.git] / lunaix-os / hal / term / term_io.c
index 729e5496b083bc22e51b2bac9ec1c31f407c0152..8042e3b2eae71859816926bcbf8d420c2f873001 100644 (file)
@@ -61,7 +61,6 @@ term_read_noncano(struct term* tdev)
 {
     struct device* chdev = tdev->chdev;
     return do_read_raw(tdev);
-    ;
 }
 
 static int
@@ -95,7 +94,7 @@ int
 term_flush(struct term* tdev)
 {
     if ((tdev->oflags & _OPOST)) {
-        lcntl_transform_inseq(tdev);
+        lcntl_transform_outseq(tdev);
     }
 
     struct linebuffer* line_out = &tdev->line_out;