mirror of
https://github.com/ihabunek/toot
synced 2024-12-25 00:20:55 +01:00
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:
parent
3a9e4956a2
commit
c944863f3f
@ -373,7 +373,7 @@ class StatusDetails(urwid.Pile):
|
|||||||
|
|
||||||
yield ("pack", urwid.Text([
|
yield ("pack", urwid.Text([
|
||||||
("blue", f"{status.created_at.strftime('%Y-%m-%d %H:%M')} "),
|
("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']} "),
|
("gray", f"⤶ {status.data['replies_count']} "),
|
||||||
("yellow" if status.reblogged else "gray", f"♺ {status.data['reblogs_count']} "),
|
("yellow" if status.reblogged else "gray", f"♺ {status.data['reblogs_count']} "),
|
||||||
("yellow" if status.favourited else "gray", f"★ {status.data['favourites_count']}"),
|
("yellow" if status.favourited else "gray", f"★ {status.data['favourites_count']}"),
|
||||||
|
Loading…
Reference in New Issue
Block a user