5
0
Fork 0

commit by to_remotes 2023-10-10 14:24:05 +0200 from vmdevac

main
ag 2023-10-10 14:24:05 +02:00
parent c69d9dda69
commit 33e463048f
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ function choose_from_menu() {
fi
index=$(( $index + 1 ))
done
read -s key # wait for user to key in arrows or ENTER
read -s -n3 key # wait for user to key in arrows or ENTER
if [[ $key == $esc[A ]] # up arrow
then cur=$(( $cur - 1 ))
[ "$cur" -lt 0 ] && cur=0