|
|
@ -32,7 +32,6 @@ class Client:
|
|
|
|
|
|
|
|
|
|
|
|
def load_stories(self, from_pos, to_pos):
|
|
|
|
def load_stories(self, from_pos, to_pos):
|
|
|
|
for idx, i in enumerate(self.topstories[from_pos:to_pos]):
|
|
|
|
for idx, i in enumerate(self.topstories[from_pos:to_pos]):
|
|
|
|
#stdscr.clear()
|
|
|
|
|
|
|
|
self.set_footer(f'[{spinner_states[idx%4]}] Loading { to_pos - from_pos } stories...')
|
|
|
|
self.set_footer(f'[{spinner_states[idx%4]}] Loading { to_pos - from_pos } stories...')
|
|
|
|
self.screen.refresh()
|
|
|
|
self.screen.refresh()
|
|
|
|
self.loadedstories.append(api.get_story(i))
|
|
|
|
self.loadedstories.append(api.get_story(i))
|
|
|
|