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
+2
-2
bar.go
less
more
336
336
}
337
337
338
338
func (s *state) draw(termWidth int, prependWs, appendWs *widthSync) {
339
if termWidth <= 0 {
340
termWidth = 2
339
if termWidth < 0 {
340
termWidth = s.width
341
341
}
342
342
343
343
stat := newStatistics(s)