From: acevest Date: Sun, 7 Nov 2021 15:05:30 +0000 (+0800) Subject: hightlight system monitor text X-Git-Url: http://zhaoyanbai.com/repos/Bv9ARM.ch06.html?a=commitdiff_plain;h=885930440a59a009b6ad75874ccc7e8fdf0e828d;p=kernel.git hightlight system monitor text --- diff --git a/kernel/tty.c b/kernel/tty.c index 6f5631b..200f771 100644 --- a/kernel/tty.c +++ b/kernel/tty.c @@ -78,7 +78,7 @@ void init_ttys() { init_tty(&default_tty, "tty.default", VADDR + 0 * TTY_VRAM_SIZE); init_tty(&monitor_tty, "tty.monitor", VADDR + 1 * TTY_VRAM_SIZE); - monitor_tty.fg_color = TTY_WHITE; + monitor_tty.fg_color = TTY_FG_HIGHLIGHT | TTY_WHITE; monitor_tty.bg_color = TTY_BLUE; tty_clear(&monitor_tty);