[pve-devel] [PATCH installer 1/2] tui: show background header on fatal setup error
Christoph Heiss
c.heiss at proxmox.com
Thu Oct 24 11:00:42 CEST 2024
This was missing, as it was only applied for the main installation UI -
the setup error has its own screen setup codepath entirely.
Signed-off-by: Christoph Heiss <c.heiss at proxmox.com>
---
proxmox-tui-installer/src/main.rs | 1 +
1 file changed, 1 insertion(+)
diff --git a/proxmox-tui-installer/src/main.rs b/proxmox-tui-installer/src/main.rs
index 3fb87a7..b1f11cb 100644
--- a/proxmox-tui-installer/src/main.rs
+++ b/proxmox-tui-installer/src/main.rs
@@ -219,6 +219,7 @@ fn installer_setup_late(siv: &mut Cursive) {
}
fn initial_setup_error(siv: &mut CursiveRunnable, message: &str) -> ! {
+ siv.add_fullscreen_layer(InstallerBackgroundView::new());
siv.add_layer(
Dialog::around(TextView::new(message))
.title("Installer setup error")
--
2.46.0
More information about the pve-devel
mailing list