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.
This commit is contained in:
Daniel Schwarz 2023-02-04 18:42:36 -05:00 committed by Ivan Habunek
parent 3a9e4956a2
commit c944863f3f
1 changed files with 1 additions and 1 deletions

View File

@ -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']}"),