stqdm
stqdm copied to clipboard
[BUG] Leave option is not connected
Describe the bug
The leave option of the stqdm
progress bar should have an effect not only for the inherited tqdm
. The change below should fix this.
Current:
def close(self):
super().close()
self.st_clear()
Proposed change:
def close(self):
super().close()
if self.leave is False: # <-- Check if leave is desired
self.st_clear()
Hi @YannickLimmer ,
Thanks for reporting. I will be looking into that. :) I have a bunch of changes to integrate, I am going to try a release next week and will probably integrate this.
Hi @Wirg ,
I can see the "leave" changes in the github repo, but they are not in pypi yet. Just commenting in case this is not intended.