From 9681d6a6cbde12b00beab62683b8db98f680ba2b Mon Sep 17 00:00:00 2001 From: Ada Christine Date: Thu, 29 Feb 2024 01:14:10 +0000 Subject: clear scren --- kjarna/efi/start.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kjarna/efi/start.c') diff --git a/kjarna/efi/start.c b/kjarna/efi/start.c index 1c15c2c..8ef8cbe 100644 --- a/kjarna/efi/start.c +++ b/kjarna/efi/start.c @@ -19,6 +19,8 @@ EFI_STATUS _start(EFI_HANDLE handle, EFI_SYSTEM_TABLE *system_table) struct efi_context app_context = { handle, system_table }; efi_context = &app_context; + system_table->ConOut->ClearScreen(system_table->ConOut); + if (main(0, nullptr) != 0) { efi_errno = EFI_ABORTED; -- cgit v1.3.1-1-g115d