mirror of
https://github.com/rr-/pq-cli.git
synced 2026-09-29 14:54:00 -06:00
ui/curses: let user scroll game view windows
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user