diff --git a/gtm2.py b/gtm2.py index 9568d8c..a640f80 100755 --- a/gtm2.py +++ b/gtm2.py @@ -574,8 +574,8 @@ def main(stdscr, filename, show_diff, show_add, show_del, mouse): if key == -1: # No input available (timeout) pass # Just redraw the UI and continue elif key == curses.KEY_RESIZE: - h, w = stdscr.getmaxyx() - state.update_dimensions(h, w) + h, w = stdscr.getmaxyx() + state.update_dimensions(h, w) elif state.enable_mouse and key == curses.KEY_MOUSE: handle_mouse_input(stdscr, state) else: