menu: Use fallback terminal instead of panicking on gterm_init() fail

This commit is contained in:
mintsuki 2022-10-05 14:21:23 +02:00
parent fc2fe1a3d2
commit 194e60a3ba

View File

@ -568,7 +568,7 @@ static void menu_init_term(void) {
#if defined (BIOS)
vga_textmode_init(true);
#elif defined (UEFI)
panic(true, "menu: Failed to initialise terminal");
term_fallback();
#endif
}
} else {
@ -854,7 +854,7 @@ timeout_aborted:
#if defined (BIOS)
vga_textmode_init(true);
#elif defined (UEFI)
panic(true, "menu: Failed to initialise terminal");
term_fallback();
#endif
}
} else {