Add display to close in rich module

This commit is contained in:
Elan Ruusamäe 2022-11-22 00:55:39 +02:00 committed by Casper da Costa-Luis
parent d774884a1a
commit d7f469eb2e
No known key found for this signature in database
GPG Key ID: F5126E5FBD2512AD
1 changed files with 1 additions and 0 deletions

View File

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