Added loading dialog when refreshing content.

This commit is contained in:
Michael Lazar
2015-01-28 01:58:47 -08:00
parent 86e0a94473
commit bc40cf4fc7
3 changed files with 9 additions and 7 deletions

View File

@@ -31,9 +31,7 @@ class SubmissionViewer(BaseViewer):
# Refresh page
elif cmd in (curses.KEY_F5, ord('r')):
self.content.reset()
self.stdscr.clear()
self.draw()
self.refresh_content()
elif cmd == curses.KEY_RESIZE:
self.draw()