diff --git a/bar.go b/bar.go index 6157ac1..325a632 100644 --- a/bar.go +++ b/bar.go @@ -38,6 +38,7 @@ // Statistics represents statistics of the progress bar. // Cantains: Total, Current, TimeElapsed, TimePerItemEstimate type Statistics struct { + Id int Completed bool Total int64 Current int64 @@ -494,6 +495,7 @@ func newStatistics(s *state) *Statistics { return &Statistics{ + Id: s.id, Completed: s.completed, Total: s.total, Current: s.current,