mirror of
https://github.com/aclist/dztui.git
synced 2026-08-28 10:47:15 +02:00
Update case statement
This commit is contained in:
parent
4bedbfbf19
commit
0f4dbed599
4
dztui.sh
4
dztui.sh
@ -247,7 +247,7 @@ main(){
|
||||
checks
|
||||
init_table
|
||||
while true; do
|
||||
printf "\n"
|
||||
menu
|
||||
read -p "Selection: " sel
|
||||
if [[ $sel =~ ^[0-9]+$ ]]; then
|
||||
if [[ $sel -gt $max_range ]]; then
|
||||
@ -261,7 +261,7 @@ main(){
|
||||
r) init_table ;;
|
||||
f) launch_fav ;;
|
||||
l) list_mods ;;
|
||||
q) exit ;;
|
||||
q) exit_msg ;;
|
||||
*) : ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user