Codebase list golang-github-vbauerster-mpb / 76039cb
move widthSync type to top Vladimir Bauer 9 years ago
1 changed file(s) with 5 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
4040 termWidth int
4141 bar *Bar
4242 }
43
44 widthSync struct {
45 listen []chan int
46 result []chan int
47 }
4348 )
4449
4550 const (
198203 return
199204 }
200205 close(p.operationCh)
201 }
202
203 type widthSync struct {
204 listen []chan int
205 result []chan int
206206 }
207207
208208 // server monitors underlying channels and renders any progress bars