From 23f8d428981dcc57d1769d020e842e94df7902b7 Mon Sep 17 00:00:00 2001 From: Timo Reymann Date: Fri, 17 Feb 2023 14:09:17 +0100 Subject: [PATCH] fix: Fix input color code --- src/prompts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/prompts.sh b/src/prompts.sh index cdea8c0..52c4e31 100644 --- a/src/prompts.sh +++ b/src/prompts.sh @@ -82,7 +82,7 @@ _increment_selected() { # # Input with validation # text=$(with_validate 'input "Please enter at least one character and confirm with enter"' validate_present) input() { - _prompt_text "$1"; echo -en "\e[36m\c" >&2 + _prompt_text "$1"; echo -en "\033[36m\c" >&2 read -r text echo -n "${text}" }