wizard: allow uppercase letters in choices

This commit is contained in:
Roman Perepelitsa 2020-12-16 16:07:00 +01:00
parent c14fe96b7c
commit e8afa806ce

View file

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