From df4ed16bae9c80f969a2d260e76210e65f784f73 Mon Sep 17 00:00:00 2001 From: pdxlocations Date: Fri, 23 Jan 2026 23:47:27 -0800 Subject: [PATCH] don't hide help window on small screens --- contact/ui/nav_utils.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/contact/ui/nav_utils.py b/contact/ui/nav_utils.py index c15f37e..59c1300 100644 --- a/contact/ui/nav_utils.py +++ b/contact/ui/nav_utils.py @@ -29,8 +29,6 @@ save_option = "Save Changes" def get_save_option_label() -> str: return t("ui.save_changes", default=save_option) -MIN_HEIGHT_FOR_HELP = 20 - def move_highlight( old_idx: int, options: List[str], menu_win: curses.window, menu_pad: curses.window, **kwargs: Any @@ -181,9 +179,6 @@ def update_help_window( ) -> object: # returns a curses window """Handles rendering the help window consistently.""" - if curses.LINES < MIN_HEIGHT_FOR_HELP: - return None - # Clamp target position and width to the current terminal size help_x = max(0, help_x) help_y = max(0, help_y)