Write new line(s). Args: count (int, optional): Number of new lines. Defaults to 1.
(self, count: int = 1)
| 1134 | return PagerContext(self, pager=pager, styles=styles, links=links) |
| 1135 | |
| 1136 | def line(self, count: int = 1) -> None: |
| 1137 | """Write new line(s). |
| 1138 | |
| 1139 | Args: |
| 1140 | count (int, optional): Number of new lines. Defaults to 1. |
| 1141 | """ |
| 1142 | |
| 1143 | assert count >= 0, "count must be >= 0" |
| 1144 | self.print(NewLine(count)) |
| 1145 | |
| 1146 | def clear(self, home: bool = True) -> None: |
| 1147 | """Clear the screen. |