Update default.inc
This commit is contained in:
@@ -125,10 +125,11 @@ detect_os () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ENTER2CONTINUE(){
|
ENTER2CONTINUE(){
|
||||||
echo -en "\n[Press ENTER to continue]"
|
read -sp "\n[Press ENTER to continue]"
|
||||||
while read -s answer; do
|
echo -e "\e[1A\n\e[0K\r\n"
|
||||||
[ -z "$answer" ] && break
|
}
|
||||||
done
|
ANYKEY2CONTINUE(){
|
||||||
|
read -n1 -sp "\n[Press any key to continue]"
|
||||||
echo -e "\e[1A\n\e[0K\r\n"
|
echo -e "\e[1A\n\e[0K\r\n"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user