From 6d953b207893d109fd4fb4f65a54ed4032c6c770 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 25 May 2023 22:27:41 -0500 Subject: [PATCH] Update sites.inc --- inc/sites.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/inc/sites.inc b/inc/sites.inc index 3a070904..f4f1994f 100755 --- a/inc/sites.inc +++ b/inc/sites.inc @@ -584,11 +584,11 @@ SITEINFO(){ echo -e "\033[K" echo -e "\033[K" echo -e "\033[K" - echo -e "\033[K" + echo -e "\033[K here" echo -e "\033[K" echo -e "\033[7A" fi - echo -en "\n\033[K${idsCL[LightCyan]}Enter the line number to edit, or (s) to save: ${idsCL[Default]}" + echo -en "\n\033[K${idsCL[LightCyan]}Enter the line number to edit [(s)ave, (c)ancel]: ${idsCL[Default]}" read -n 1 edit case "${edit}" in @@ -617,6 +617,8 @@ SITEINFO(){ read port echo -e "\033[5A"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[5A" ;; + + [Cc]) exit 0;; esac # [ "$edit" = "7" ] && echo -e "\033[5A"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[5A" echo -e "\033[12A"