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):
|
def close(self):
|
||||||
if self.disable:
|
if self.disable:
|
||||||
return
|
return
|
||||||
|
self.display() # print 100%, vis #1306
|
||||||
super().close()
|
super().close()
|
||||||
self._prog.__exit__(None, None, None)
|
self._prog.__exit__(None, None, None)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue