home · contact · privacy
New client: Reset delay after screen redraw.
authorChristian Heller <c.heller@plomlompom.de>
Sat, 7 Nov 2015 20:36:34 +0000 (21:36 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Sat, 7 Nov 2015 20:36:34 +0000 (21:36 +0100)
client_prototype.py

index 9a922caf9897d915122c0e71085301bc801886db..b19f50cb771d96e301a425f78cbb72ce2e576d45 100644 (file)
@@ -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()