wizard: allow uppercase letters in choices

pull/1173/head
Roman Perepelitsa 4 years ago
parent c14fe96b7c
commit e8afa806ce

@ -406,6 +406,7 @@ function ask() {
fi fi
typeset -g choice= typeset -g choice=
if read -t1 -k choice; then if read -t1 -k choice; then
choice=${(L)choice}
if [[ $choice == q ]]; then if [[ $choice == q ]]; then
quit quit
fi fi

Loading…
Cancel
Save