From 741a306c6930136cbc917f54a15d94d34b756f55 Mon Sep 17 00:00:00 2001 From: Lexi Winter Date: Sun, 31 Dec 2023 16:17:42 +0000 Subject: [PATCH] tui: fix display glitch for reply icon in timeline MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In some fonts, "⤶" (U+2936 ARROW POINTING DOWNWARDS THEN CURVING LEFTWARDS) may be a double-width character. To avoid a display glitch where this overlaps with the boosted icon, print a space after it. --- toot/tui/timeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toot/tui/timeline.py b/toot/tui/timeline.py index 63eb4b3..a91b039 100644 --- a/toot/tui/timeline.py +++ b/toot/tui/timeline.py @@ -456,7 +456,7 @@ class StatusListItem(SelectableColumns): favourited = ("highlight", "★") if status.original.favourited else " " reblogged = ("highlight", "♺") if status.original.reblogged else " " is_reblog = ("dim", "♺") if status.reblog else " " - is_reply = ("dim", "⤶") if status.original.in_reply_to else " " + is_reply = ("dim", "⤶ ") if status.original.in_reply_to else " " return super().__init__([ ("pack", SelectableText(("status_list_timestamp", created_at), wrap="clip")),