Update nodemgmt-scripts.sh

This commit is contained in:
2023-11-09 09:59:15 -06:00
parent b7c5209b6e
commit 8dd13ecc2d

View File

@@ -782,9 +782,12 @@ DOWNLIST(){
fi
[ "${choice^^}" == "E" ] && break
for (( c=0; c<$(echo "scale=1; ${#DOWNLIST[@]}*2" | bc); c++ )); do
mrow="\033[`echo "scale=1; ${#DOWNLIST[@]}*2" | bc)`A"
echo -e "${mrow}"
for (( c=1; c<$(echo "scale=1; ${#DOWNLIST[@]}*2" | bc); c++ )); do
# echo "HERE1: $c"
echo -e "\033[1A\033[K";
echo -e "\033[K";
done
# for (( c=1; c<${#DOWNLIST[@]}; c++ )); do
# echo -e "\033[K";
@@ -792,7 +795,9 @@ DOWNLIST(){
# for (( c=0; c<${#DOWNLIST[@]}; c++ )); do
# echo -e "\033[1A";
# done
echo -e "${mrow}"
# echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[K"; echo -e "\033[K"; echo -e "${mrow}"
done