flush read cmd

This commit is contained in:
urban
2023-09-01 00:20:40 +02:00
parent da97f089c8
commit 0cee1c95ac
2 changed files with 2 additions and 0 deletions

View File

@@ -2,6 +2,7 @@
r(){
p $1
while read -t 0; do :; done
read -p " " $2
}