From f827af50f9bcb8e0a3269219af662c403537f690 Mon Sep 17 00:00:00 2001 From: Whispering Wind <151555003+ReturnFI@users.noreply.github.com> Date: Fri, 16 Aug 2024 20:38:49 +0330 Subject: [PATCH] Fixed moving the cursor --- menu.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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