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%7Bprefix%7D%7D/static/bar%20baz.html?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()