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.pull/1904/head
parent
f7157b153d
commit
12385d05a5
|
|
@ -352,7 +352,7 @@ _bash-it-flash-term() {
|
||||||
local delay=0.1
|
local delay=0.1
|
||||||
local color
|
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
|
do
|
||||||
sleep "${delay}"
|
sleep "${delay}"
|
||||||
_bash-it-rewind "${len}"
|
_bash-it-rewind "${len}"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue