'Pretty-print the page.'

def display(self):

    pos = self._pos
    text = self._pages[pos]
    page = _DISPLAY.format(text=text, pageno=(pos + 1), pagemax=self._npages)
    sessions = self._caller.sessions.get()
    if (not sessions):
        self.page_quit()
        return
    if (not any((ses for ses in sessions if (self._session is ses)))):
        self._session = sessions[0]
    self._caller.msg(text=page, session=self._session, **self._kwargs)
