From 64efe5239475a5753765aa906a2595ae743406bb Mon Sep 17 00:00:00 2001 From: John D Pell Date: Sat, 9 Oct 2021 22:41:42 -0700 Subject: [PATCH] lib/search: fix `_bash-it-flash-term()` 1. `$text_black` isn't a parameter provided by _Bash It_. Typo? 2. `$bold_yellow` is meant for prompt strings and putputs `\[`; ditto `$bold_red`. 3. The color was never returned to normal after. --- lib/search.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/search.bash b/lib/search.bash index 74764b2a..d74ece44 100644 --- a/lib/search.bash +++ b/lib/search.bash @@ -351,7 +351,7 @@ _bash-it-flash-term() { local delay=0.1 local color - for color in "${text_black}" "${echo_bold_blue}" "${bold_yellow}" "${bold_red}" "${echo_bold_green}" + for color in "${echo_black-}" "${echo_bold_blue-}" "${echo_bold_yellow-}" "${echo_bold_red-}" "${echo_bold_green-}" "${echo_normal-}" do sleep "${delay}" _bash-it-rewind "${len}"