From 04b97a463d1254b5f4ad1bac1862c46a04691e5a Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Sat, 9 Nov 2024 20:37:11 -0800 Subject: [PATCH] Add option to start over post-clone --- config/config.json5 | 1 + src/components/footer.rs | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/config/config.json5 b/config/config.json5 index dd8289b..22ad743 100644 --- a/config/config.json5 +++ b/config/config.json5 @@ -62,6 +62,7 @@ "": "Process", "": "KeyUp", "": "KeyDown", + "": "ScanDisks", // Start over "": "Quit", // Quit the application "": "Quit", // Another way to quit "": "Quit", // Yet another way to quit diff --git a/src/components/footer.rs b/src/components/footer.rs index 95117c9..fc2ac3c 100644 --- a/src/components/footer.rs +++ b/src/components/footer.rs @@ -62,7 +62,9 @@ impl Component for Footer { | Mode::PreClone | Mode::Clone | Mode::PostClone - | Mode::SelectParts => String::from("(Enter) to select / (q) to quit"), + | Mode::SelectParts => { + String::from("(Enter) to select / (s) to start over / (q) to quit") + } Mode::SelectDisks => String::from( "(Enter) to select / / (i) to install driver / (r) to rescan / (q) to quit", ),