From a7a35dde7325d9c3c42f45e4c56c2235a2abf19c Mon Sep 17 00:00:00 2001 From: Joursoir Date: Sun, 24 Oct 2021 18:26:49 +0000 Subject: tbi/screen: add attributes to support color --- lib/tbi/screen.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/tbi/screen.c') diff --git a/lib/tbi/screen.c b/lib/tbi/screen.c index 7eb9ac2..ae4f2be 100644 --- a/lib/tbi/screen.c +++ b/lib/tbi/screen.c @@ -23,6 +23,7 @@ struct screen *prepare_screen(VOID) &(scr->columns), &(scr->lines) ); + scr->attr = gST->ConOut->Mode->Attribute; return scr; } -- cgit v1.2.3-18-g5258