diff options
author | Ian Moffett <ian@osmora.org> | 2025-06-05 22:59:22 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-06-05 22:59:22 -0400 |
commit | d026c19b1622b38fa92f3d7fba2eca42f6575efa (patch) | |
tree | 793c36d4dfa7355c070838d998f355033bfc642d /sys/include/dev/cons | |
parent | 074960155dca8a22a10576b5a9fad06e88a24207 (diff) |
kernel: cons: Add color attribute helpers
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/dev/cons')
-rw-r--r-- | sys/include/dev/cons/cons.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/include/dev/cons/cons.h b/sys/include/dev/cons/cons.h index b27be23..fb254cb 100644 --- a/sys/include/dev/cons/cons.h +++ b/sys/include/dev/cons/cons.h @@ -64,6 +64,8 @@ struct cons_screen { void cons_init(void); void cons_expose(void); +void cons_update_color(struct cons_screen *scr, uint32_t fg, uint32_t bg); +void cons_reset_color(struct cons_screen *scr); int cons_putch(struct cons_screen *scr, char c); int cons_putstr(struct cons_screen *scr, const char *s, size_t len); |