From 6aa2a7bff009bf56a89d3c0040bdb751076ee6e0 Mon Sep 17 00:00:00 2001 From: "AKA \"Thom Wiley" Date: Sun, 12 Sep 2021 09:33:51 -0400 Subject: [PATCH] Updated install_menu.sh to back_footer When I first ran the code, I went to advanced because I had klipper already installed and I wanted to see if I could install fluidd using this code base. So when see advanced menu I was concerned that "quit" meant quitting the tool instead of exiting the advanced menu. So proposing a back_footer for sub menus that will revert back to main menu. Save quit footer for main menu to exit program. --- scripts/ui/install_menu.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/ui/install_menu.sh b/scripts/ui/install_menu.sh index 8bcd528..40978b8 100755 --- a/scripts/ui/install_menu.sh +++ b/scripts/ui/install_menu.sh @@ -17,7 +17,7 @@ install_ui(){ echo -e "| 4) [Fluidd] | Webcam: | " echo -e "| | 9) [MJPG-Streamer] | " echo -e "| | | " - quit_footer + back_footer } install_menu(){ @@ -43,7 +43,7 @@ install_menu(){ do_action "install_pgc_for_klipper" "install_ui";; 9) do_action "install_mjpg-streamer" "install_ui";; - Q|q) + B|b) clear; main_menu; break;; *) deny_action "install_ui";;