feat: hook up the keyboard input into our vfs
[lunaix-os.git] / lunaix-os / includes / lunaix / tty / console.h
index 2c9e990eddb1e21135c3df9fcde44e255486fc24..e5eaa34b940ad7c9ce1295250858918639bca89d 100644 (file)
@@ -1,16 +1,16 @@
 #ifndef __LUNAIX_CONSOLE_H
 #define __LUNAIX_CONSOLE_H
 
 #ifndef __LUNAIX_CONSOLE_H
 #define __LUNAIX_CONSOLE_H
 
-#include <lunaix/ds/fifobuf.h>
+#include <lunaix/ds/fifo.h>
 #include <lunaix/timer.h>
 
 struct console
 {
     struct lx_timer* flush_timer;
 #include <lunaix/timer.h>
 
 struct console
 {
     struct lx_timer* flush_timer;
-    struct fifo_buffer buffer;
+    struct fifo_buf output;
+    struct fifo_buf input;
     unsigned int erd_pos;
     unsigned int lines;
     unsigned int erd_pos;
     unsigned int lines;
-    unsigned int chars;
 };
 
 #endif /* __LUNAIX_CONSOLE_H */
 };
 
 #endif /* __LUNAIX_CONSOLE_H */