X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/db4d7d52fa00cc2fd3f25d971f57b73406d816ba..ea77b9c3fc7fb9bf9d7f9604fc187c8049212a2a:/lunaix-os/includes/lunaix/tty/tty.h?ds=sidebyside diff --git a/lunaix-os/includes/lunaix/tty/tty.h b/lunaix-os/includes/lunaix/tty/tty.h index 518d376..96fe485 100644 --- a/lunaix-os/includes/lunaix/tty/tty.h +++ b/lunaix-os/includes/lunaix/tty/tty.h @@ -1,5 +1,8 @@ #ifndef __LUNAIX_TTY_H #define __LUNAIX_TTY_H + +#include + typedef unsigned short vga_attribute; #define VGA_COLOR_BLACK 0 @@ -31,8 +34,8 @@ tty_set_theme(vga_attribute fg, vga_attribute bg); vga_attribute tty_get_theme(); -size_t -tty_flush_buffer(char* data, size_t pos, size_t limit, size_t buf_size); +void +tty_flush_buffer(struct fifo_buf* buf); void tty_clear_line(int line_num);