mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 22:26:42 +00:00
Merge pull request #3041 from chewitt/resize-timer
busybox: quit countdown timers on keyboard input
This commit is contained in:
commit
67fd315747
@ -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