Update nodemgmt-scripts.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user