mirror of
https://github.com/nicolargo/glances.git
synced 2026-10-08 09:52:13 -04:00
Recompute refresh after a key pressed
This commit is contained in:
1 parent
cab0e868ae
commit
c3d6b1b10f
1 file changed
+2
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user