mirror of https://github.com/tqdm/tqdm.git
Add display to close in rich module
This commit is contained in:
parent
d774884a1a
commit
d7f469eb2e
|
@ -116,6 +116,7 @@ class tqdm_rich(std_tqdm): # pragma: no cover
|
|||
def close(self):
|
||||
if self.disable:
|
||||
return
|
||||
self.display() # print 100%, vis #1306
|
||||
super().close()
|
||||
self._prog.__exit__(None, None, None)
|
||||
|
||||
|
|
Loading…
Reference in New Issue