diff --git a/lib/InterfaceUtils.sh b/lib/InterfaceUtils.sh index b0186c7..ada9111 100755 --- a/lib/InterfaceUtils.sh +++ b/lib/InterfaceUtils.sh @@ -178,7 +178,7 @@ function interface_prompt() { done # The following conditional is required since io_query_format_fields - # only considers the the size of the first parameter, available color. + # only considers the the size of the first parameter, available color. if [ "$6" ]; then # Add alternative choices __interface_prompt__ifAvailable+=("${!3}") __interface_prompt__ifAvailableInfo+=("${!4}") @@ -192,7 +192,7 @@ function interface_prompt() { InterfacePromptWISelectedState="[+]" # It passed the condition, it must be + InterfacePromptWISelectedInfo="${__interface_prompt__ifAvailableInfo[0]}" else - format_apply_autosize "$CRed[$CYel%1d$CRed]%b %-8b %3s %-*.*s\n" + format_apply_autosize "$CRed[$CYel%1d$CRed]%b %-8b %3s$CClr %-*.*s\n" io_query_format_fields "$1" "$FormatApplyAutosize" \ __interface_prompt__ifAvailableColor[@] __interface_prompt__ifAvailable[@] \ __interface_prompt__ifAvailableState[@] __interface_prompt__ifAvailableInfo[@]