From 5af7b47284b63715e1599b07873ebeb5f9edb257 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Tue, 1 Jul 2025 21:16:58 -0400 Subject: kernel: console: Introduce cons_screen features Introduce a 'feat' field in the cons_screen structure to allow certain console features to be turned on or off. Signed-off-by: Ian Moffett --- sys/include/dev/cons/cons.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/include/dev/cons') diff --git a/sys/include/dev/cons/cons.h b/sys/include/dev/cons/cons.h index 7599dd5..aa9d8e3 100644 --- a/sys/include/dev/cons/cons.h +++ b/sys/include/dev/cons/cons.h @@ -32,6 +32,7 @@ #include #include +#include #include #include #include @@ -47,6 +48,7 @@ struct cons_char { struct cons_screen { struct fbdev fbdev; struct ansi_state ansi_s; + struct console_feat feat; /* Features */ uint32_t fg; uint32_t bg; -- cgit v1.2.3