Updated patch
Corrected code here
This commit is contained in:
parent
5aa779ef06
commit
9abaebdc21
2 changed files with 7 additions and 0 deletions
|
@ -524,6 +524,12 @@ class TUI(urwid.Frame):
|
|||
if not self.overlay:
|
||||
self.show_help()
|
||||
|
||||
elif key in (','):
|
||||
if not self.overlay:
|
||||
self.timeline_generator = api.home_timeline_generator(
|
||||
self.app, self.user, limit=40)
|
||||
self.async_load_timeline(is_initial=True, timeline_name=self.timeline.name)
|
||||
|
||||
elif key == 'esc':
|
||||
if self.overlay:
|
||||
self.close_overlay()
|
||||
|
|
|
@ -146,6 +146,7 @@ class Help(urwid.Padding):
|
|||
yield urwid.Text(h(" [Q] - quit toot"))
|
||||
yield urwid.Text(h(" [G] - go to - switch timelines"))
|
||||
yield urwid.Text(h(" [P] - save/unsave (pin) current timeline"))
|
||||
yield urwid.Text(h(" [,] - refresh current timeline"))
|
||||
yield urwid.Text(h(" [H] - show this help"))
|
||||
yield urwid.Divider()
|
||||
yield urwid.Text(("bold", "Status keys"))
|
||||
|
|
Loading…
Reference in a new issue