Cursor position during wait
This commit is contained in:
parent
b53c1a31cb
commit
153d4d146b
|
@ -43,7 +43,8 @@ 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)))
|
tput cup $((height * 3 / 4)) $(((width / 2)))
|
||||||
|
echo -n ''
|
||||||
}
|
}
|
||||||
|
|
||||||
please_wait
|
please_wait
|
||||||
|
|
Loading…
Reference in New Issue