mirror of
https://github.com/ihabunek/toot.git
synced 2025-01-03 14:56:37 -05:00
Indicate if status is a reply in left pane of curses ui
This commit is contained in:
parent
be8c0a7947
commit
4bc963a236
@ -129,6 +129,8 @@ class StatusListWindow:
|
||||
self.pad.addstr(offset + 2, 14, acct, color)
|
||||
else:
|
||||
self.pad.addstr(offset + 1, 14, acct, color)
|
||||
if status['in_reply_to_id'] is not None:
|
||||
self.pad.addstr(offset + 1, width - 3, '⤶', Color.CYAN)
|
||||
|
||||
date, time = status['created_at']
|
||||
self.pad.addstr(offset + 1, 1, " " + date.ljust(12), color)
|
||||
|
@ -17,6 +17,7 @@ def parse_status(status):
|
||||
'content': content,
|
||||
'favourited': status.get('favourited'),
|
||||
'id': status['id'],
|
||||
'in_reply_to_id': _status.get('in_reply_to_id'),
|
||||
'media_attachments': _status['media_attachments'],
|
||||
'url': _status['url'],
|
||||
'reblogged': status.get('reblogged'),
|
||||
|
Loading…
Reference in New Issue
Block a user