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:
90d6017
)
New client: Fix crashes from window resizing.
author
Christian Heller
<c.heller@plomlompom.de>
Fri, 25 Sep 2015 03:11:31 +0000
(
05:11
+0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Fri, 25 Sep 2015 03:11:31 +0000
(
05:11
+0200)
client_prototype.py
patch
|
blob
|
history
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():