Move the cursor to the end of the display and otherwise get ready for end. XXX could be merged with restore? Hmm.
(self)
| 449 | self.screen = [""] |
| 450 | |
| 451 | def finish(self) -> None: |
| 452 | """Move the cursor to the end of the display and otherwise get |
| 453 | ready for end. XXX could be merged with restore? Hmm.""" |
| 454 | y = len(self.screen) - 1 |
| 455 | while y >= 0 and not self.screen[y]: |
| 456 | y -= 1 |
| 457 | self._move_relative(0, min(y, self.height + self.__offset - 1)) |
| 458 | self.__write("\r\n") |
| 459 | |
| 460 | def flushoutput(self) -> None: |
| 461 | """Flush all output to the screen (assuming there's some |
nothing calls this directly
no test coverage detected