fix: Fix input color code

This commit is contained in:
Timo Reymann
2023-02-17 14:09:17 +01:00
committed by GitHub
parent 92ee53bb48
commit 23f8d42898
+1 -1
View File
@@ -82,7 +82,7 @@ _increment_selected() {
# # Input with validation # # Input with validation
# text=$(with_validate 'input "Please enter at least one character and confirm with enter"' validate_present) # text=$(with_validate 'input "Please enter at least one character and confirm with enter"' validate_present)
input() { input() {
_prompt_text "$1"; echo -en "\e[36m\c" >&2 _prompt_text "$1"; echo -en "\033[36m\c" >&2
read -r text read -r text
echo -n "${text}" echo -n "${text}"
} }