Fix: Correctly render rich color tags in startup messages.
This commit is contained in:
2
main.py
2
main.py
@@ -96,7 +96,7 @@ def main():
|
|||||||
|
|
||||||
# Display initial messages using rich.Live for a few seconds
|
# Display initial messages using rich.Live for a few seconds
|
||||||
with Live(console=console, screen=True, refresh_per_second=4) as live:
|
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)
|
time.sleep(5)
|
||||||
|
|
||||||
next_page_token = None
|
next_page_token = None
|
||||||
|
|||||||
Reference in New Issue
Block a user