fix: Move help_items definition before height calculation in draw_help_popup

This commit is contained in:
n loewen (aider) 2025-06-08 02:56:06 +01:00
parent 4e07164bdc
commit ecce880cdb
1 changed files with 1 additions and 0 deletions

1
gtm
View File

@ -653,6 +653,7 @@ def draw_help_popup(stdscr, state):
if not state.show_help:
return
# Calculate popup dimensions and position
popup_width = 60
# Calculate height based on number of help items plus margins