Recompute refresh after a key pressed

This commit is contained in:
nicolargo committed 2018-11-25 21:54:31 +01:00
1 parent cab0e868ae
commit c3d6b1b10f
1 file changed
+2
+2
View File
@@ -988,6 +988,8 @@ class _GlancesCurses(object):
if not exitkey and pressedkey > -1:
# Redraw display
self.flush(stats, cs_status=cs_status)
# Overwrite the timeout with the countdown
self.term_window.timeout(int(countdown.get() * 1000))
return exitkey