code: def cursor_pageup(self, stats):
          
          if self._current_page - 1 < 0:
              self._current_page = self._page_max - 1
          else:
              self._current_page -= 1
          self.cursor_position = 0
docs: Set prev page.