PR Submenu change from "quit" to "back" #111
Reference in New Issue
Block a user
Delete Branch "patch-1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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. You would use the quit footer for main menu to exit program.
changed submenus to use back_footer
edited general_ui to add back_footer as a UI component
@@ -75,3 +74,4 @@back_footerwhile true; doread -p "${cyan}Please select:${default} " choiceif [ $choice = "q" ] || [ $choice = "Q" ]; thenwe need to change the q/Q to b/B here too, otherwise we will introduce a bug :)
@@ -75,3 +74,4 @@back_footerwhile true; doread -p "${cyan}Please select:${default} " choiceif [ $choice = "q" ] || [ $choice = "Q" ]; thenAlso pls see my previous comment: https://github.com/th33xitus/kiauh/pull/111#issuecomment-917646892