diff --git a/demo.sh b/demo.sh index 405275e..01bffda 100755 --- a/demo.sh +++ b/demo.sh @@ -89,6 +89,7 @@ boxborder \ #boxborder # Example for select_option + echo "Select one option using up/down keys and enter to confirm:" echo @@ -101,6 +102,7 @@ echo "Choosen index = $choice" echo " value = ${options[$choice]}" # Examples for select_opt + case `select_opt "Yes" "No" "Cancel"` in 0) echo "selected Yes";; 1) echo "selected No";;