mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
Merge pull request #3041 from chewitt/resize-timer
busybox: quit countdown timers on keyboard input
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user