From b6484ba2024d4f8376417704a5b4c12b2e8ab638 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 25 May 2023 20:47:42 -0500 Subject: [PATCH] Update sites.inc --- inc/sites.inc | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/inc/sites.inc b/inc/sites.inc index eced398c..059112ab 100755 --- a/inc/sites.inc +++ b/inc/sites.inc @@ -569,7 +569,7 @@ SITEINFO(){ [ "$(grep include/secure-access.conf ${sitefile})" != "" ] && lock='Yes' || lock='-' until [ "${edit}" = "s" ]; do - tput sc + # tput sc echo -e "${idsCL[Cyan]}!) Site Address: ${idsST[Bold]}${site}${idsST[Reset]}" echo -e "${idsCL[Cyan]}!) Site Type: ${idsST[Bold]}${type}${idsST[Reset]}" echo -e "${idsCL[Cyan]}!) SSL Secure: ${idsST[Bold]}${ssl}${idsST[Reset]} - ${idsCL[LightCyan]}${SUBJECTNAMES}" @@ -583,6 +583,17 @@ SITEINFO(){ echo -en "\n${idsCL[LightCyan]}Enter the line number to edit, or (s) to save: ${idsCL[Default]}" read edit + # tput rc;tput el + + tput sc # save cursor + printf "Something that I made up for this string" + sleep 1 + tput rc;tput el # rc = restore cursor, el = erase to end of line + printf "Another message for testing" + sleep 1 + tput rc;tput el + printf "Yet another one" + sleep 1 tput rc;tput el done echo