Skip to content

Commit

Permalink
Merge 61ad4c0 into f5c9bfa
Browse files Browse the repository at this point in the history
  • Loading branch information
jedib0t committed Jun 10, 2019
2 parents f5c9bfa + 61ad4c0 commit 428a53f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions progress/render.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,9 @@ func (p *Progress) renderTrackerStats(out *strings.Builder, t *Tracker, hint ren
var outStats strings.Builder
outStats.WriteString(" [")
if !hint.hideValue {
t.mutex.Lock()
outStats.WriteString(p.style.Colors.Value.Sprint(t.Units.Sprint(t.value)))
t.mutex.Unlock()
}
if !hint.hideValue && !hint.hideTime {
outStats.WriteString(" in ")
Expand Down

0 comments on commit 428a53f

Please sign in to comment.