Recalculate and refresh the screen.
(self)
| 684 | self.refresh() |
| 685 | |
| 686 | def refresh(self) -> None: |
| 687 | """Recalculate and refresh the screen.""" |
| 688 | if self.in_bracketed_paste and self.buffer and not self.buffer[-1] == "\n": |
| 689 | return |
| 690 | |
| 691 | # this call sets up self.cxy, so call it first. |
| 692 | self.screen = self.calc_screen() |
| 693 | self.console.refresh(self.screen, self.cxy) |
| 694 | self.dirty = False |
| 695 | |
| 696 | def do_cmd(self, cmd: tuple[str, list[str]]) -> None: |
| 697 | """`cmd` is a tuple of "event_name" and "event", which in the current |
no test coverage detected