Mercurial > getan
changeset 255:fcd0a8b09fcf
Fix: Don't crash when the console window is resized
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Thu, 11 Apr 2013 11:37:55 +0200 |
parents | 70e4f59f991c |
children | bcc5951edaad |
files | getan/controller.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/getan/controller.py Thu Apr 11 10:34:27 2013 +0200 +++ b/getan/controller.py Thu Apr 11 11:37:55 2013 +0200 @@ -50,8 +50,8 @@ def input_filter(self, input, raw_input): if 'window resize' in input: - self.view.loop.screen_size = None - self.view.loop.draw_screen() + self.loop.screen_size = None + self.loop.draw_screen() else: input = self.state.input_filter(input, raw_input) self.loop.process_input(input)