fix: Correct indentation for resize event handling in gtm2.py
This commit is contained in:
parent
c1605e99cd
commit
e9b806aeb8
4
gtm2.py
4
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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue