summaryrefslogtreecommitdiff
path: root/internal/wizard.zsh
diff options
context:
space:
mode:
authorRoman Perepelitsa <roman.perepelitsa@gmail.com>2020-12-16 18:07:00 +0300
committerRoman Perepelitsa <roman.perepelitsa@gmail.com>2020-12-16 18:07:00 +0300
commite8afa806ce8a9baad76793768b44cf4338f3a129 (patch)
tree49dab74ed22de28fcb9f30ad22850f6dcce26088 /internal/wizard.zsh
parentc14fe96b7c427d62db9f13b328044ca5e1d42c89 (diff)
wizard: allow uppercase letters in choices
Diffstat (limited to 'internal/wizard.zsh')
-rw-r--r--internal/wizard.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/wizard.zsh b/internal/wizard.zsh
index 364a4705..83fbf07e 100644
--- a/internal/wizard.zsh
+++ b/internal/wizard.zsh
@@ -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