await reloading

master
Felix Pankratz 1 year ago
parent 58b6492b4d
commit d8c2d6c8f7

@ -118,7 +118,7 @@ class Client:
webbrowser.open(story.link) webbrowser.open(story.link)
story.read = True story.read = True
elif c == ord('r'): elif c == ord('r'):
self.reload() await self.reload()
elif c == curses.KEY_RESIZE: elif c == curses.KEY_RESIZE:
curses.resize_term(*self.screen.getmaxyx()) curses.resize_term(*self.screen.getmaxyx())
self.lines, self.cols = self.screen.getmaxyx() self.lines, self.cols = self.screen.getmaxyx()

Loading…
Cancel
Save