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
1 changed files with 1 additions and 0 deletions

View File

@ -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