home
·
contact
·
privacy
projects
/
plomrogue
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1215247
)
New client: Reset delay after screen redraw.
author
Christian Heller
<c.heller@plomlompom.de>
Sat, 7 Nov 2015 20:36:34 +0000
(21:36 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Sat, 7 Nov 2015 20:36:34 +0000
(21:36 +0100)
client_prototype.py
patch
|
blob
|
history
diff --git
a/client_prototype.py
b/client_prototype.py
index 9a922caf9897d915122c0e71085301bc801886db..b19f50cb771d96e301a425f78cbb72ce2e576d45 100644
(file)
--- 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()