From 9d20bb67cd7cae77568986564b689abe815a7660 Mon Sep 17 00:00:00 2001 From: Dylan Date: Tue, 29 Mar 2016 22:36:40 +1100 Subject: [PATCH] Fix progress bars --- neofetch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neofetch b/neofetch index 14c6292d..68d4e1e0 100755 --- a/neofetch +++ b/neofetch @@ -2461,8 +2461,8 @@ bar() { total=$(printf %"$((progress_length - elapsed))"s) # Set the colors and swap the spaces for $progress_char - bar="${progress_color_elapsed}${prog// /$progress_char}" - bar+="${progress_color_total}${total// /$progress_char}" + bar="\033[0m${progress_color_elapsed}${prog// /$progress_char}" + bar+="\033[0m${progress_color_total}${total// /$progress_char}" printf "%b%s\n" "${bar}${clear}" }