Remove highlight reset from progress bars and rebase
This commit is contained in:
parent
35d120c25d
commit
a6bcaab30a
4
neofetch
4
neofetch
|
@ -2464,8 +2464,8 @@ bar() {
|
||||||
total=$(printf %"$((progress_length - elapsed))"s)
|
total=$(printf %"$((progress_length - elapsed))"s)
|
||||||
|
|
||||||
# Set the colors and swap the spaces for $progress_char
|
# Set the colors and swap the spaces for $progress_char
|
||||||
bar="\033[0m\033[3${progress_color_elapsed}m${prog// /$progress_char}"
|
bar="\033[3${progress_color_elapsed}m${prog// /$progress_char}"
|
||||||
bar+="\033[0m\033[3${progress_color_total}m${total// /$progress_char}"
|
bar+="\033[3${progress_color_total}m${total// /$progress_char}"
|
||||||
printf "%b%s\n" "${bar}${clear}"
|
printf "%b%s\n" "${bar}${clear}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue