Add option to return to main menu from results
This commit is contained in:
parent
dfc861cc09
commit
718e4061f8
2 changed files with 2 additions and 2 deletions
|
|
@ -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"),
|
||||
|
|
|
|||
|
|
@ -112,6 +112,7 @@
|
|||
"<Left>": "KeyLeft",
|
||||
"<Right>": "KeyRight",
|
||||
"<r>": "BootScan",
|
||||
"<s>": "ScanDisks",
|
||||
"<q>": "Quit",
|
||||
"<Ctrl-d>": "Quit",
|
||||
"<Ctrl-c>": "Quit",
|
||||
|
|
|
|||
Loading…
Reference in a new issue