diff --git a/menu.sh b/menu.sh index 2c7745a..a3cc5fc 100644 --- a/menu.sh +++ b/menu.sh @@ -317,7 +317,7 @@ singbox_handler() { echo "The singbox.service is already active." else while true; do - read -p "Enter the domain name for the SSL certificate: " domain + read -e -p "Enter the domain name for the SSL certificate: " domain if [ -z "$domain" ]; then echo "Domain name cannot be empty. Please try again." else @@ -326,7 +326,7 @@ singbox_handler() { done while true; do - read -p "Enter the port number for the service: " port + read -e -p "Enter the port number for the service: " port if [ -z "$port" ]; then echo "Port number cannot be empty. Please try again." elif ! [[ "$port" =~ ^[0-9]+$ ]]; then