@ -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