Codebase list golang-github-vbauerster-mpb / 082c187
if not terminal, height = number of bars Vladimir Bauer 3 years ago
1 changed file(s) with 1 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
242242 width, height, err := cw.GetTermSize()
243243 if err != nil {
244244 width = s.reqWidth
245 height = s.bHeap.Len()
245246 }
246247 for i := 0; i < s.bHeap.Len(); i++ {
247248 bar := s.bHeap[i]