stay in current menu after action

This commit is contained in:
Shihaam Abdul Rahman 2024-09-17 00:32:47 +05:00
parent 6ed1441425
commit e13a469b0d
Signed by: shihaam
GPG Key ID: 6DA2E87EBC227636

6
remote
View File

@ -82,11 +82,11 @@ fan_menu() {
read -p "Enter your choice: " choice read -p "Enter your choice: " choice
case $choice in case $choice in
1) tap 30 200 ;; 1) tap 30 200 ; fan_menu ;;
2) tap 640 200 ;; 2) tap 640 200 ; fan_menu ;;
3) echo wip ;; 3) echo wip ;;
4) show_main_menu ;; 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 esac
} }