Skip to content

Commit

Permalink
fix preset
Browse files Browse the repository at this point in the history
  • Loading branch information
cheggaaa committed Jun 4, 2017
1 parent 3860a67 commit ae83553
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions preset.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import ()

var (
// Full - preset with all default available elements
// Example: 'Prefix 20/100 20s [-->______] 20% 1 p/s ETA 1m Suffix'
Full ProgressBarTemplate = `{{string . "prefix"}}{{counters . }} {{etime . }} {{bar . }} {{percent . }} {{speed . }} {{rtime . }}{{string . "suffix"}}`
// Example: 'Prefix 20/100 [-->______] 20% 1 p/s ETA 1m Suffix'
Full ProgressBarTemplate = `{{string . "prefix"}}{{counters . }} {{bar . }} {{percent . }} {{speed . }} {{rtime . "ETA %s"}}{{string . "suffix"}}`

// Default - preset like Full but without elapsed time
// Example: 'Prefix 20/100 [-->______] 20% 1 p/s ETA 1m Suffix'
Expand Down

0 comments on commit ae83553

Please sign in to comment.