From: Christian Heller Date: Sat, 7 Nov 2015 20:36:34 +0000 (+0100) Subject: New client: Reset delay after screen redraw. X-Git-Tag: tce~259 X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/static/%7B%7Bdb.prefix%7D%7D/error?a=commitdiff_plain;h=a553633d2be3971ba3a6bab2b00e74aa6c5c308f;p=plomrogue New client: Reset delay after screen redraw. --- 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()