From e9b806aeb8f742b5c0e2e0ef099eee2fbae64a3d Mon Sep 17 00:00:00 2001 From: "n loewen (aider)" Date: Sat, 7 Jun 2025 23:16:13 +0100 Subject: [PATCH] fix: Correct indentation for resize event handling in gtm2.py --- gtm2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: