merge: Merge main

This commit is contained in:
Timo Reymann
2023-02-17 13:05:01 +01:00
parent 37aaf5e5b2
commit b2ba0377b7
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -24,6 +24,7 @@ _key_input() {
fi
local input="${a}${b}"
# shellcheck disable=SC1087
case "$input" in
"$ESC[A") echo up ;;
"$ESC[B") echo down ;;
+2 -2
View File
@@ -41,13 +41,13 @@ validate_password() {
fi
}
# Password prompt
#pass=$(with_validate 'password "Enter random password"' validate_password)
pass=$(with_validate 'password "Enter random password"' validate_password)
# Checkbox
checked=$(checkbox "Select one or more items" "${options[@]}")
# text input with validation
#text=$(with_validate 'input "Please enter something and confirm with enter"' validate_present)
text=$(with_validate 'input "Please enter something and confirm with enter"' validate_present)
# Select
option=$(list "Select one item" "${options[@]}")