configure: read single character (#187)

This commit is contained in:
Branch Vincent 2021-08-21 17:59:45 -04:00 committed by GitHub
parent 451acfe7d5
commit 5c2a6c2e03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,7 +58,7 @@ function _tide_menu
while true
set_color -o
read --prompt-str "Choice [$list_with_slashes/r/q] " input
read --nchars 1 --prompt-str "Choice [$list_with_slashes/r/q] " input
set_color normal
switch $input