Skip to content

[BUG] Leave option is not connected #97

@YannickLimmer

Description

@YannickLimmer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions