1
0
mirror of https://github.com/ihabunek/toot synced 2024-12-25 00:20:55 +01:00

Don't focus newly posted toot

This breaks the reading flow.

fixes #188
This commit is contained in:
Daniel Schwarz 2023-01-19 02:44:16 -05:00 committed by GitHub
parent 08dd02d989
commit c5b3724015
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -497,9 +497,7 @@ class TUI(urwid.Frame):
in_reply_to_id=in_reply_to_id)
status = self.make_status(data)
# TODO: instead of this, fetch new items from the timeline?
self.timeline.prepend_status(status)
self.timeline.focus_status(status)
# TODO: fetch new items from the timeline?
self.footer.set_message("Status posted {} \\o/".format(status.id))
self.close_overlay()