From 4658624988e2967ff6b7c7dad2a342a518440c7b Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Sun, 30 Nov 2025 21:03:24 -0800 Subject: [PATCH] Add missing back keys and footer text --- config/config.json5 | 1 + win_installer/src/app.rs | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/config/config.json5 b/config/config.json5 index 90af2f8..3be6e80 100644 --- a/config/config.json5 +++ b/config/config.json5 @@ -211,6 +211,7 @@ "": "Process", "": "KeyUp", "": "KeyDown", + "": "PrevScreen", "": "Quit", "": "Quit", "": "Quit", diff --git a/win_installer/src/app.rs b/win_installer/src/app.rs index 2c9b953..401ccd2 100644 --- a/win_installer/src/app.rs +++ b/win_installer/src/app.rs @@ -149,7 +149,10 @@ impl App { String::from("Scanning Disks..."), ))?; } - Mode::ScanWinSources => self.state.scan_wim_local(ScanType::WindowsInstallers), + Mode::ScanWinSources => { + self.state.reset_all(); + self.state.scan_wim_local(ScanType::WindowsInstallers); + } Mode::SetUserName => { if let Ok(wim_sources) = self.state.wim_sources.lock() && let Some(index) = self.state.wim_image_index @@ -427,7 +430,7 @@ fn build_footer_string(cur_mode: Mode) -> String { ), Mode::SelectTableType => String::from("(Enter) to select / (b) to go back / (q) to quit"), Mode::SelectWinSource | Mode::SelectWinImage => { - String::from("(Enter) to select / (q) to quit") + String::from("(Enter) to select / (b) to go back / (q) to quit") } Mode::ScanWinSources => String::from( "(Enter) to continue / (b) to scan for backups / (n) to scan network / (q) to quit",