fix: Correct indentation for resize event handling in gtm2.py

This commit is contained in:
n loewen (aider) 2025-06-07 23:16:13 +01:00
parent c1605e99cd
commit e9b806aeb8
1 changed files with 2 additions and 2 deletions

View File

@ -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: