Skip to content

Commit

Permalink
lib/search: fix _bash-it-flash-term()
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
gaelicWizard committed Sep 9, 2021
1 parent 0a1e13f commit ecde8e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/search.bash
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,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}"
Expand Down

0 comments on commit ecde8e0

Please sign in to comment.