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