base_script.sh: add 'echo_wait'.

This commit is contained in:
Christoph 2018-10-18 04:09:07 +02:00
parent dcb769fc9b
commit ad910633a2

View File

@ -161,6 +161,11 @@ echo_skipped() {
echo -e "\033[75G[ \033[33m\033[1mskipped\033[m ]"
fi
}
echo_wait(){
if $terminal ; then
echo -en "\033[75G[ \033[5m\033[1m...\033[m ]"
fi
}
trim() {
local var="$*"