feat: a file system mapping for pci devices
[lunaix-os.git] / lunaix-os / kernel / tty / tty.c
index 6db2417a7d81c5524e2c66f0c3460c3aeed4ab11..f197559e8b6a41607180bdea361c1e83dcfcbba1 100644 (file)
@@ -83,11 +83,10 @@ tty_flush_buffer(struct fifo_buf* buf)
                 case '\r':
                     x = 0;
                     break;
-                case '\x08':
-                    x = x ? x - 1 : 0;
-                    *(tty_vga_buffer + x + y * TTY_WIDTH) =
-                      (current_theme | 0x20);
-                    break;
+                // case '\x08':
+                //     *(tty_vga_buffer + x + y * TTY_WIDTH) =
+                //       (current_theme | 0x20);
+                //     break;
                 default:
                     *(tty_vga_buffer + x + y * TTY_WIDTH) =
                       (current_theme | chr);