From 648993607db5fcc8f98f32ffa9bb841d86b147a1 Mon Sep 17 00:00:00 2001 From: pdxlocations Date: Thu, 30 Jan 2025 14:24:13 -0800 Subject: [PATCH] fix packet log height --- ui/curses_ui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/curses_ui.py b/ui/curses_ui.py index cac8869..8a6ee0a 100644 --- a/ui/curses_ui.py +++ b/ui/curses_ui.py @@ -54,8 +54,8 @@ def draw_function_win(): 0, get_color("commands")) def get_msg_window_lines(): - packetlog_height = packetlog_win.getmaxyx()[0] if globals.display_log else 0 - return messages_box.getmaxyx()[0] - 1 - packetlog_height + packetlog_height = packetlog_win.getmaxyx()[0] - 1 if globals.display_log else 0 + return messages_box.getmaxyx()[0] - 2 - packetlog_height def refresh_pad(window): win_height = channel_box.getmaxyx()[0]