Add option to return to main menu from results

This commit is contained in:
2Shirt 2025-05-31 14:42:08 -07:00
parent dfc861cc09
commit 718e4061f8
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C
2 changed files with 2 additions and 2 deletions

View file

@ -762,14 +762,13 @@ fn get_chunks(r: Rect) -> Vec<Rect> {
fn build_footer_string(cur_mode: Mode) -> String {
match cur_mode {
Mode::BootDiags => String::from("(r) to refresh / (q) to quit"),
Mode::BootScan | Mode::BootSetup | Mode::Home | Mode::ScanDisks => {
String::from("(q) to quit")
}
Mode::InstallDrivers | Mode::InjectDrivers | Mode::SetBootMode => {
String::from("(Enter) to select / (q) to quit")
}
Mode::DiagMenu | Mode::SelectParts => {
Mode::BootDiags | Mode::DiagMenu | Mode::SelectParts => {
String::from("(Enter) to select / (s) to start over / (q) to quit")
}
Mode::Done => String::from("(Enter) to continue / (q) to quit"),

View file

@ -112,6 +112,7 @@
"<Left>": "KeyLeft",
"<Right>": "KeyRight",
"<r>": "BootScan",
"<s>": "ScanDisks",
"<q>": "Quit",
"<Ctrl-d>": "Quit",
"<Ctrl-c>": "Quit",