mostly working now?

This commit is contained in:
pdxlocations
2025-01-11 21:24:00 -08:00
parent 037877180e
commit 30eb1b3e2a
5 changed files with 25 additions and 32 deletions
+3 -1
View File
@@ -139,6 +139,7 @@ def draw_splash(stdscr):
stdscr.box()
stdscr.refresh()
def draw_channel_list():
# Get the dimensions of the channel window
_, win_width = channel_win.getmaxyx()
@@ -159,7 +160,9 @@ def draw_channel_list():
channel_win.refresh()
def draw_node_list():
global nodes_win
nodes_win.clear()
height, width = nodes_win.getmaxyx()
start_index = max(0, globals.selected_node - (height - 3)) # Calculate starting index based on selected node and window height
@@ -355,4 +358,3 @@ def main_ui(stdscr):
else:
# Append typed character to input text
input_text += chr(char)