From 864795da7d7e48537552a6af895b36b0f609fffa Mon Sep 17 00:00:00 2001 From: Dylan Date: Tue, 29 Mar 2016 19:32:46 +1100 Subject: [PATCH] Reset highlighting before coloring progress bars --- neofetch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neofetch b/neofetch index 45105a72..8ad7ae7b 100755 --- a/neofetch +++ b/neofetch @@ -2457,8 +2457,8 @@ bar() { total=$(printf %"$((progress_length - elapsed))"s) # Set the colors and swap the spaces for $progress_char - bar="\033[3${progress_color_elapsed}m${prog// /$progress_char}" - bar+="\033[3${progress_color_total}m${total// /$progress_char}" + bar="\033[0m\033[3${progress_color_elapsed}m${prog// /$progress_char}" + bar+="\033[0m\033[3${progress_color_total}m${total// /$progress_char}" printf "%b%s\n" "${bar}${clear}" }