diff options
Diffstat (limited to 'sys/include/dev/cons/cons.h')
-rw-r--r-- | sys/include/dev/cons/cons.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/include/dev/cons/cons.h b/sys/include/dev/cons/cons.h index 15a7f59..337b738 100644 --- a/sys/include/dev/cons/cons.h +++ b/sys/include/dev/cons/cons.h @@ -33,6 +33,12 @@ #include <sys/types.h> #include <dev/video/fbdev.h> +struct cons_char { + char c; + uint32_t fg; + uint32_t bg; +}; + struct cons_screen { struct fbdev fbdev; uint32_t fg; @@ -44,6 +50,9 @@ struct cons_screen { uint32_t ncols; uint32_t ch_col; /* Current col */ uint32_t ch_row; /* Current row */ + uint32_t curs_col; /* Cursor col */ + uint32_t curs_row; /* Cursor row */ + struct cons_char last_chr; }; void cons_init(void); |