mirror of
https://github.com/pdxlocations/contact.git
synced 2026-08-07 09:22:51 +02:00
Fix drawing messages when switching channels
This commit is contained in:
@@ -151,6 +151,7 @@ def select_channels(direction):
|
||||
globals.selected_channel = channel_list_length - 1
|
||||
elif globals.selected_channel >= channel_list_length:
|
||||
globals.selected_channel = 0
|
||||
draw_messages_window(True)
|
||||
|
||||
win_height, win_width = channel_box.getmaxyx()
|
||||
start_index = max(0, globals.selected_channel - (win_height - 3))
|
||||
|
||||
Reference in New Issue
Block a user