Add subject/title/summary/cw/whatev to print

This commit is contained in:
Huy Ngo 2024-07-19 14:21:51 +07:00
parent 3553827b5f
commit b1f995e93b

View file

@ -303,6 +303,10 @@ def print_status(status: Status, width: int = 80):
)
print_out("")
if status.spoiler_text:
print_out("<yellow>Subject</yellow>: ", end="")
print_html(status.spoiler_text)
print()
print_html(status.content, width)
if status.media_attachments: