Commit Graph

3 Commits

Author SHA1 Message Date
Mark Thomas
537690883f progress: tone down fancyrenderer
Summary:
The fancyrenderer is a little loud for progress bars with no totals and
spinners.  Tone it down a little.

Reviewed By: phillco

Differential Revision: D8403456

fbshipit-source-id: ff8316f4098a02fbafb083e5ae7baa4a243c93bd
2018-06-14 02:42:39 -07:00
Mark Thomas
449b58b48d progress: implement formatting of bytes values
Summary:
Add the ability to set a `formatfunc` on a progres bar, which formats the
numbers used.  Use `util.bytecount` as a format function in the places
where we have progress bars in numbers of bytes.

Reviewed By: quark-zju

Differential Revision: D7355232

fbshipit-source-id: 117c7035d46d47259cdfd70b80438cc6f4615977
2018-04-13 21:51:38 -07:00
Mark Thomas
0d739795cc progress: add fancyrenderer for colorful progress bars
Reviewed By: quark-zju

Differential Revision: D7329656

fbshipit-source-id: b6592319177387d615547ff27f8f38efe85838ba
2018-04-13 21:51:34 -07:00