progressio icon indicating copy to clipboard operation
progressio copied to clipboard

Configurable update frequency?

Open CpuID opened this issue 8 years ago • 2 comments

How would you feel about the update frequency being configurable instead of a constant...?

https://github.com/bartmeuris/progressio/blob/master/progress.go#L71-L72

CpuID avatar Oct 05 '16 20:10 CpuID

That's not a bad idea, but would need some refactoring of the code to be done cleanly, but backwards compatability should be maintained in since I have no idea how many people are using this little library by now.

One of the reasons I haven't implemented this (yet) is because I'm considering a v2 rewrite in order to address some other usability issues, but which would break backwards compatability. Pull requests are welcome though.

bartmeuris avatar Oct 14 '16 08:10 bartmeuris

@bartmeuris sounds good. If I get the itch to have it as a feature I'll look at PRing something :)

CpuID avatar Oct 14 '16 19:10 CpuID