# HG changeset patch # User Björn Ricks # Date 1365673075 -7200 # Node ID fcd0a8b09fcfd3d5332a08ad038cb7487650c274 # Parent 70e4f59f991c2999d71421291f9017598e971ac3 Fix: Don't crash when the console window is resized diff -r 70e4f59f991c -r fcd0a8b09fcf getan/controller.py --- 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)