From e8afa806ce8a9baad76793768b44cf4338f3a129 Mon Sep 17 00:00:00 2001 From: Roman Perepelitsa Date: Wed, 16 Dec 2020 16:07:00 +0100 Subject: [PATCH] wizard: allow uppercase letters in choices --- internal/wizard.zsh | 1 + 1 file changed, 1 insertion(+) 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