Update nodemgmt-scripts.sh
This commit is contained in:
@@ -783,21 +783,10 @@ DOWNLIST(){
|
|||||||
[ "${choice^^}" == "E" ] && break
|
[ "${choice^^}" == "E" ] && break
|
||||||
|
|
||||||
|
|
||||||
mrow="\033[$(echo "scale=1; (${#DOWNLIST[@]}*2)+2" | bc)A"
|
# mrow="\033[$(echo "scale=1; (${#DOWNLIST[@]}*2)+2" | bc)A"
|
||||||
echo -e "${mrow}"
|
echo -e "\033[$(echo "scale=1; (${#DOWNLIST[@]}*2)+2" | bc)A"
|
||||||
|
for (( c=1; c<$(echo "scale=1; (${#DOWNLIST[@]}*2)+2" | bc); c++ )); do echo -e "\033[K"; done
|
||||||
for (( c=1; c<$(echo "scale=1; (${#DOWNLIST[@]}*2)+2" | bc); c++ )); do
|
echo -e "\033[$(echo "scale=1; (${#DOWNLIST[@]}*2)+2" | bc)A"
|
||||||
# echo "HERE1: $c"
|
|
||||||
echo -e "\033[K";
|
|
||||||
done
|
|
||||||
# for (( c=1; c<${#DOWNLIST[@]}; c++ )); do
|
|
||||||
# echo -e "\033[K";
|
|
||||||
# done
|
|
||||||
# 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}"
|
# 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}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user