fix: Fix input color code
This commit is contained in:
+1
-1
@@ -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}"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user