home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New client: Fix crashes from window resizing.
[plomrogue]
/
client_prototype.py
diff --git
a/client_prototype.py
b/client_prototype.py
index f239242ec20c4180c1caa9d20b7116442ffb5e14..31d66f085c70cfd7d6a434d7a65bbffaa8969968 100644
(file)
--- a/
client_prototype.py
+++ b/
client_prototype.py
@@
-144,8
+144,8
@@
def main(stdscr):
set_window_geometries()
while True:
draw_screen()
- char = stdscr.get
key
()
- if (
'Q' == char
):
+ char = stdscr.get
ch
()
+ if (
char >= 0 and chr(char) == 'Q'
):
exit()
def foo():