Closed awbacker closed 3 years ago
"latest version" I assume version 1.6.2? Could you test it on #51 (2.0)?
Hey man! I'm glad you already found out what did happen...
It's exactly what you said, in the published version you'll need incr
. I chose at the time to document the new signature, so that people would read and internalize the more correct and permanent way.
I also marked the code with a DeprecationWarning on the text
param, which came earlier. So, in the next version, I can remove it and fulfill the signature I documented...
But I'm sorry about that, maybe that was a poor decision. Fortunately like @TheTechRobo has said, the 2.0 is finally just around the corner!
Closing this one as it is not actually a problem, just the documentation that is more up to date, before the code ships š
The following code will crash on the latest version of alive_bar:
The documentation states this is the way to update the bar in definite mode
After inspecting the
bar_handle
function (thanks mr. stack-trace!), it appears that theincr
parameter is the way to update the step.