Clear the screen. Args: home (bool, optional): Also move the cursor to 'home' position. Defaults to True.
(self, home: bool = True)
| 1144 | self.print(NewLine(count)) |
| 1145 | |
| 1146 | def clear(self, home: bool = True) -> None: |
| 1147 | """Clear the screen. |
| 1148 | |
| 1149 | Args: |
| 1150 | home (bool, optional): Also move the cursor to 'home' position. Defaults to True. |
| 1151 | """ |
| 1152 | if home: |
| 1153 | self.control(Control.clear(), Control.home()) |
| 1154 | else: |
| 1155 | self.control(Control.clear()) |
| 1156 | |
| 1157 | def status( |
| 1158 | self, |