Remove highlight reset from progress bars and rebase

This commit is contained in:
Dylan 2016-03-27 21:42:26 +11:00
parent 35d120c25d
commit a6bcaab30a
1 changed files with 2 additions and 2 deletions

View File

@ -2464,8 +2464,8 @@ bar() {
total=$(printf %"$((progress_length - elapsed))"s)
# Set the colors and swap the spaces for $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}"
bar="\033[3${progress_color_elapsed}m${prog// /$progress_char}"
bar+="\033[3${progress_color_total}m${total// /$progress_char}"
printf "%b%s\n" "${bar}${clear}"
}