From a553633d2be3971ba3a6bab2b00e74aa6c5c308f Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sat, 7 Nov 2015 21:36:34 +0100 Subject: [PATCH] New client: Reset delay after screen redraw. --- client_prototype.py | 1 + 1 file changed, 1 insertion(+) diff --git a/client_prototype.py b/client_prototype.py index 9a922ca..b19f50c 100644 --- a/client_prototype.py +++ b/client_prototype.py @@ -213,6 +213,7 @@ def cursed_main(stdscr): stdscr.timeout(delay) delay = delay * 2 if delay < 1000 else delay if cursed_main.redraw: + delay = 1 draw_screen() cursed_main.redraw = False char = stdscr.getch() -- 2.30.2