mirror of
https://github.com/troglobit/finit.git
synced 2026-10-09 16:50:59 +07:00
Hide cursor at boot and shutdown
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -89,6 +89,9 @@ void console_init(void)
|
||||
/* Reset attributes, background and foreground color */
|
||||
dprint(STDOUT_FILENO, "\033[49m\033[39m\e[2J", 14);
|
||||
|
||||
/* Hide cursor while we boot up. */
|
||||
dprint(STDOUT_FILENO, "\033[?25l", 6);
|
||||
|
||||
log_init();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user