Fix: Correctly render rich color tags in startup messages.

This commit is contained in:
2025-10-29 12:53:20 +01:00
parent e41c64fee6
commit b29290d6ba

View File

@@ -96,7 +96,7 @@ def main():
# Display initial messages using rich.Live for a few seconds
with Live(console=console, screen=True, refresh_per_second=4) as live:
live.update(Text(f"[green]Found live chat ID: {live_chat_id}[/green]\n[green]Chat will be logged to {log_filename}[/green]", justify="center"))
live.update(Text(f"[green]Found live chat ID: {live_chat_id}[/green]\n[green]Chat will be logged to {log_filename}[/green]", justify="center", markup=True))
time.sleep(5)
next_page_token = None