Fixed a few typos.

This commit is contained in:
Michael Lazar
2016-04-15 18:22:55 -07:00
parent 6c130001b1
commit 47af24cc6e
2 changed files with 5 additions and 4 deletions

View File

@@ -38,7 +38,7 @@ class SubmissionPage(Page):
# ensure that when we re-draw the page, the cursor stays at its
# current absolute position. Do this by turning off inversion and
# applying an offset to the top item.
window = self._subwindows[-1]
window = self._subwindows[-1][0]
n_rows, _ = window.getmaxyx()
self.nav.flip(len(self._subwindows) - 1)
self.nav.top_item_height = n_rows