commit by to_remotes 2023-10-10 14:24:05 +0200 from vmdevac
parent
c69d9dda69
commit
33e463048f
2
init.sh
2
init.sh
|
|
@ -28,7 +28,7 @@ function choose_from_menu() {
|
||||||
fi
|
fi
|
||||||
index=$(( $index + 1 ))
|
index=$(( $index + 1 ))
|
||||||
done
|
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
|
if [[ $key == $esc[A ]] # up arrow
|
||||||
then cur=$(( $cur - 1 ))
|
then cur=$(( $cur - 1 ))
|
||||||
[ "$cur" -lt 0 ] && cur=0
|
[ "$cur" -lt 0 ] && cur=0
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue