From 92e255f77d269fa50dbcd52c6d41839d95d5866f Mon Sep 17 00:00:00 2001 From: teldra Date: Mon, 7 Feb 2022 04:01:08 +0100 Subject: [PATCH] progress --- functions | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions b/functions index 8d11242..37b23a9 100644 --- a/functions +++ b/functions @@ -56,7 +56,8 @@ multiplechoice() { output="" local done="" local input=("${@}") - for i in $(seq 1 "$(( ${#input[@]} - 1 ))"); do + #for i in $(seq 1 "$(( ${#input[@]} - 1 ))"); do + for i in $(seq 0 "${#input[@]}"); do if [[ "${i}" == "1" ]]; then choices="${input[$i]}" use="${input[$i]}"