diff options
author | nicolargo <nicolas@nicolargo.com> | 2018-11-25 21:54:31 +0100 |
---|---|---|
committer | nicolargo <nicolas@nicolargo.com> | 2018-11-25 21:54:31 +0100 |
commit | c3d6b1b10f2e43d59cd919be93b0ce9548b11ca5 (patch) | |
tree | 6b540b30b8b1b07cd5b89926fb489956a565a335 | |
parent | cab0e868ae42fee92ee0f5af1617b5ac57d74407 (diff) |
Recompute refresh after a key pressed
-rw-r--r-- | glances/outputs/glances_curses.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/glances/outputs/glances_curses.py b/glances/outputs/glances_curses.py index 7bbdc1cf..783e955a 100644 --- a/glances/outputs/glances_curses.py +++ b/glances/outputs/glances_curses.py @@ -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 |