mirror of
https://github.com/nicolargo/glances.git
synced 2026-03-14 12:00:14 -04:00
Recompute refresh after a key pressed
This commit is contained in:
@@ -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