+#ifndef __LUNAIX_TTY_H
+#define __LUNAIX_TTY_H
typedef unsigned short vga_attribute;
#define VGA_COLOR_BLACK 0
#define VGA_COLOR_LIGHT_BROWN 14
#define VGA_COLOR_WHITE 15
+void
+tty_init(void* vga_buf);
+
+void
+tty_set_buffer(void* vga_buf);
+
void
tty_set_theme(vga_attribute fg, vga_attribute bg);
tty_scroll_up();
void
-tty_clear();
\ No newline at end of file
+tty_clear();
+
+void
+tty_clear_line(unsigned int y);
+
+void
+tty_set_cpos(unsigned int x, unsigned int y);
+
+void
+tty_get_cpos(unsigned int* x, unsigned int* y);
+
+vga_attribute
+tty_get_theme();
+
+void tty_set_cursor(unsigned char x, unsigned char y);
+
+void tty_sync_cursor();
+
+
+#endif /* __LUNAIX_TTY_H */