stqdm icon indicating copy to clipboard operation
stqdm copied to clipboard

[BUG] Leave option is not connected

Open YannickLimmer opened this issue 11 months ago • 2 comments

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()

YannickLimmer avatar Mar 20 '24 16:03 YannickLimmer

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.

Wirg avatar Mar 28 '24 12:03 Wirg

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.

joeleeyk avatar Apr 25 '24 11:04 joeleeyk