Fix coloring

This commit is contained in:
Huy Ngo 2024-07-19 11:46:30 +07:00
parent 6048e49d56
commit 5b685e62ad

View file

@ -310,10 +310,10 @@ def print_status(status: Status, width: int = 80):
for count, attachment in enumerate(status.media_attachments):
url = attachment.url
description = f'Description: {attachment.description}'
print_out(f'{count+1}. URL: {url}')
print_out(f'{count+1}. <yellow>URL</yellow>: {url}')
for i, line in enumerate(wc_wrap(description, width)):
if i == 0:
line.replace('Description', '<yellow>Description</yellow>')
line = line.replace('Description', '<yellow>Description</yellow>')
print_out(line)
if status.poll: