aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tbi/screen.c
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2021-10-24 18:26:49 +0000
committerJoursoir <chat@joursoir.net>2021-10-24 18:26:49 +0000
commita7a35dde7325d9c3c42f45e4c56c2235a2abf19c (patch)
treead3a28f9963f29e0e071a7dea4187911e4a3ab78 /lib/tbi/screen.c
parent79e990add09938e91be560869157ef77edf4df58 (diff)
downloadufm-a7a35dde7325d9c3c42f45e4c56c2235a2abf19c.tar.gz
ufm-a7a35dde7325d9c3c42f45e4c56c2235a2abf19c.tar.bz2
ufm-a7a35dde7325d9c3c42f45e4c56c2235a2abf19c.zip
tbi/screen: add attributes to support color
Diffstat (limited to 'lib/tbi/screen.c')
-rw-r--r--lib/tbi/screen.c1
1 files changed, 1 insertions, 0 deletions
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;
}