From 08f19e653a9789b5fbf82f4e30616d883deb770c Mon Sep 17 00:00:00 2001 From: pdxlocations Date: Sun, 9 Feb 2025 20:46:39 -0800 Subject: [PATCH] add note in draw_node_list --- ui/curses_ui.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/curses_ui.py b/ui/curses_ui.py index 5154154..3f85be8 100644 --- a/ui/curses_ui.py +++ b/ui/curses_ui.py @@ -417,9 +417,12 @@ def draw_messages_window(scroll_to_bottom = False): def draw_node_list(): global nodes_pad + # This didn't work, for some reason an error is thown on startup, so we just create the pad every time # if nodes_pad is None: + # nodes_pad = curses.newpad(1, 1) nodes_pad = curses.newpad(1, 1) + try: nodes_pad.erase() box_width = nodes_win.getmaxyx()[1]