stay in current menu after action
This commit is contained in:
parent
6ed1441425
commit
e13a469b0d
6
remote
6
remote
@ -82,11 +82,11 @@ fan_menu() {
|
||||
read -p "Enter your choice: " choice
|
||||
|
||||
case $choice in
|
||||
1) tap 30 200 ;;
|
||||
2) tap 640 200 ;;
|
||||
1) tap 30 200 ; fan_menu ;;
|
||||
2) tap 640 200 ; fan_menu ;;
|
||||
3) echo wip ;;
|
||||
4) show_main_menu ;;
|
||||
*) echo "Invalid choice. Press Enter to continue..."; read; device_menu "$device" ;;
|
||||
*) echo "Invalid choice. Try Again..."; sleep 0.5; fan_menu ;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user