summaryrefslogtreecommitdiff
path: root/sys/include/dev/cons/cons.h
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-06-05 23:11:07 -0400
committerIan Moffett <ian@osmora.org>2025-06-05 23:13:05 -0400
commit5fbb0c30cf78d811b86a432aada43e37544e16da (patch)
tree7b3845171ee08d300fb132372ac1d459cb5a1831 /sys/include/dev/cons/cons.h
parent7864572520cd857d97e4e60aa605724f2885786d (diff)
kernel: cons: Add initial ANSI escape seq impl
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/dev/cons/cons.h')
-rw-r--r--sys/include/dev/cons/cons.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/include/dev/cons/cons.h b/sys/include/dev/cons/cons.h
index fb254cb..13153b2 100644
--- a/sys/include/dev/cons/cons.h
+++ b/sys/include/dev/cons/cons.h
@@ -34,6 +34,7 @@
#include <sys/spinlock.h>
#include <dev/video/fbdev.h>
#include <dev/cons/consvar.h>
+#include <dev/cons/ansi.h>
struct cons_char {
char c;
@@ -45,6 +46,7 @@ struct cons_char {
struct cons_screen {
struct fbdev fbdev;
+ struct ansi_state ansi_s;
uint32_t fg;
uint32_t bg;