From d7f469eb2e0df481e0555ad3bc04f94eae69cdd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 22 Nov 2022 00:55:39 +0200 Subject: [PATCH] Add display to close in rich module --- tqdm/rich.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tqdm/rich.py b/tqdm/rich.py index e67990d8..3d392eda 100644 --- a/tqdm/rich.py +++ b/tqdm/rich.py @@ -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)