Codebase list golang-github-vbauerster-mpb / 436bfcf
tw -1 fix Vladimir Bauer 8 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
336336 }
337337
338338 func (s *state) draw(termWidth int, prependWs, appendWs *widthSync) {
339 if termWidth <= 0 {
340 termWidth = 2
339 if termWidth < 0 {
340 termWidth = s.width
341341 }
342342
343343 stat := newStatistics(s)