From ecce880cdb2ce089669ed73a333e22798552e737 Mon Sep 17 00:00:00 2001 From: "n loewen (aider)" Date: Sun, 8 Jun 2025 02:56:06 +0100 Subject: [PATCH] fix: Move help_items definition before height calculation in draw_help_popup --- gtm | 1 + 1 file changed, 1 insertion(+) diff --git a/gtm b/gtm index 76af85d..0ec4ad0 100755 --- a/gtm +++ b/gtm @@ -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