testing stuff ; testing branch lol
This commit is contained in:
@@ -561,9 +561,13 @@ class IRCPanel(wx.Panel):
|
||||
logger.error(f"Error in add_message: {e}")
|
||||
|
||||
def _add_message_safe(self, message, username_color=None, message_color=None,
|
||||
bold=False, italic=False, underline=False):
|
||||
bold=False, italic=False, underline=False):
|
||||
"""Add message to display with formatting (must be called from main thread)."""
|
||||
try:
|
||||
# Safety check: ensure text_ctrl still exists
|
||||
if not self.text_ctrl or not self:
|
||||
return
|
||||
|
||||
self.messages.append(message)
|
||||
|
||||
# Check if user is at bottom
|
||||
|
||||
Reference in New Issue
Block a user