Changed bookmark symbol from unicode glyph to 'b'

The glyph previously used '🠷' is interpreted with different
widths on different terminal emulators (i.e. xterm gets it wrong)
This results in visual glitches in the status detail area and
especially in the scrollbar when visible.  Changing it to a
standard ASCII 'b' fixes all these issues.
pull/299/head^2
Daniel Schwarz 2023-02-04 18:42:36 -05:00 zatwierdzone przez Ivan Habunek
rodzic 3a9e4956a2
commit c944863f3f
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -373,7 +373,7 @@ class StatusDetails(urwid.Pile):
yield ("pack", urwid.Text([
("blue", f"{status.created_at.strftime('%Y-%m-%d %H:%M')} "),
("red" if status.bookmarked else "gray", "🠷 "),
("red" if status.bookmarked else "gray", "b "),
("gray", f"{status.data['replies_count']} "),
("yellow" if status.reblogged else "gray", f"{status.data['reblogs_count']} "),
("yellow" if status.favourited else "gray", f"{status.data['favourites_count']}"),