mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-01 15:07:49 +00:00
busybox: quit countdown timers on keyboard input
This commit is contained in:
parent
86e23ee1ed
commit
5983d488b2
@ -144,7 +144,7 @@ ProgressTask_Countdown() {
|
|||||||
|
|
||||||
while [ ${countfrom} -gt 0 ]; do
|
while [ ${countfrom} -gt 0 ]; do
|
||||||
echo ${countfrom} | awk '{ printf "\b\b%2d", $1 }'
|
echo ${countfrom} | awk '{ printf "\b\b%2d", $1 }'
|
||||||
sleep 1
|
read -r -s -t1 && break
|
||||||
countfrom=$((countfrom - 1))
|
countfrom=$((countfrom - 1))
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user