-
-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
Description
Describe the problem
So I was hoping to use this gem to show the current status of a buffer in progress bar form. I know the maximum size, so this isn't indeterminate.
My problem? If the buffer gets full, the bar finishes, and there's no way to stop it.
I thought of just adding one to total or something, but that would throw the percentage and bar progress off.
How would the new feature work?
I was thinking an auto_finish: false
option, which is checked when currently the bar ends if current == total
.
Drawbacks
Can you see any potential drawbacks?
Would need to handle cases where current is set to something > total
, but that wouldn't be hard.