ui/curses: let user scroll game view windows

This commit is contained in:
rr-
2019-01-04 16:59:29 +01:00
parent 0133802570
commit e3ffe51979
7 changed files with 64 additions and 9 deletions
@@ -34,6 +34,14 @@ class PlotWindow(Focusable, ListBoxProgressBarWindow):
"change", self._sync_position
)
def scroll_page_up(self) -> None:
self._list_box.scroll_page_up()
self._render()
def scroll_page_down(self) -> None:
self._list_box.scroll_page_down()
self._render()
def _sync(self) -> None:
self._sync_acts()
self._sync_position()