Merge pull request #3041 from chewitt/resize-timer

busybox: quit countdown timers on keyboard input
This commit is contained in:
MilhouseVH
2018-10-23 10:59:31 +01:00
committed by GitHub

View File

@@ -144,7 +144,7 @@ ProgressTask_Countdown() {
while [ ${countfrom} -gt 0 ]; do
echo ${countfrom} | awk '{ printf "\b\b%2d", $1 }'
sleep 1
read -r -s -t1 && break
countfrom=$((countfrom - 1))
done