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:
a00b9dd
)
Client: Solve automatic reconfiguring of windows in SIGWINCH.
author
Christian Heller
<c.heller@plomlompom.de>
Fri, 26 Feb 2016 20:28:11 +0000
(21:28 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Fri, 26 Feb 2016 20:28:11 +0000
(21:28 +0100)
roguelike-client
patch
|
blob
|
history
diff --git
a/roguelike-client
b/roguelike-client
index 4514946f7da145f44b4cae9680f289e34e7dc9a2..d527a904f061e1552210a196286d73dc4c56cd19 100755
(executable)
--- a/
roguelike-client
+++ b/
roguelike-client
@@
-131,10
+131,13
@@
def cursed_main(stdscr):
if new_open_end:
message_queue["open_end"] = True
+ def set_and_redraw_windows(*ignore):
+ set_windows()
+ draw_screen()
+
curses.noecho()
curses.curs_set(False)
- signal.signal(signal.SIGWINCH,
- lambda ignore_1, ignore_2: set_windows())
+ signal.signal(signal.SIGWINCH, set_and_redraw_windows)
set_windows()
delay = 1
while True: