Cursor position during wait
This commit is contained in:
parent
6ba589afba
commit
b53c1a31cb
|
@ -43,6 +43,7 @@ function please_wait {
|
||||||
clear
|
clear
|
||||||
tput cup $((height / 2)) $(((width / 2) - (length / 2)))
|
tput cup $((height / 2)) $(((width / 2) - (length / 2)))
|
||||||
echo "$str"
|
echo "$str"
|
||||||
|
tput cup $((height / 2) + 2) $(((width / 2)))
|
||||||
}
|
}
|
||||||
|
|
||||||
please_wait
|
please_wait
|
||||||
|
|
Loading…
Reference in New Issue