Open gngrossi opened 7 months ago
@DevonianTeuchter it seems that using the %s format specifier affects the colorizing:
~ # orig: printf "${NC}%s%-${colwidth}s${NC}" "$(colorizepct "${percentage}")" "${percentage}%"
printf "${NC}$(colorizepct "${percentage}")%-${colwidth}s${NC}" "${percentage}%"
Colors render if I emed it in the format string.
+1 to embedding it!