Codebase list golang-github-vbauerster-mpb / bb360e8
BarExtender godoc Vladimir Bauer 7 years ago
1 changed file(s) with 2 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
8989 }
9090 }
9191
92 // BarNewLineExtend takes user defined efn, which gets called each
93 // render cycle. Any write to provided writer of efn, will appear on
94 // new line of respective bar.
92 // BarExtender is an option to extend bar to the next new line, with
93 // arbitrary output.
9594 func BarExtender(extender Filler) BarOption {
9695 return func(s *bState) {
9796 s.extender = extender