Recalculate and refresh the screen.
(self)
| 650 | self.refresh() |
| 651 | |
| 652 | def refresh(self) -> None: |
| 653 | """Recalculate and refresh the screen.""" |
| 654 | # this call sets up self.cxy, so call it first. |
| 655 | self.screen = self.calc_screen() |
| 656 | self.console.refresh(self.screen, self.cxy) |
| 657 | self.dirty = False |
| 658 | |
| 659 | def do_cmd(self, cmd: tuple[str, list[str]]) -> None: |
| 660 | """`cmd` is a tuple of "event_name" and "event", which in the current |