From 19e159cdf5227b86b13dba448bbe92356bf6d7c9 Mon Sep 17 00:00:00 2001 From: "AKA \"Thom Wiley" Date: Sun, 12 Sep 2021 09:34:57 -0400 Subject: [PATCH] Updated remove_menu.sh for 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/remove_menu.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/ui/remove_menu.sh b/scripts/ui/remove_menu.sh index 873674a..83d39fc 100755 --- a/scripts/ui/remove_menu.sh +++ b/scripts/ui/remove_menu.sh @@ -17,7 +17,7 @@ remove_ui(){ echo -e "| 3) [Mainsail] | 9) [PrettyGCode] | " echo -e "| 4) [Fluidd] | | " echo -e "| | 10) [NGINX] | " - quit_footer + back_footer } remove_menu(){ @@ -45,7 +45,7 @@ remove_menu(){ do_action "remove_prettygcode" "remove_ui";; 10) do_action "remove_nginx" "remove_ui";; - Q|q) + B|b) clear; main_menu; break;; *) deny_action "remove_ui";;