Set the terminal window title Args: title (str): The new terminal window title
(cls, title: str)
| 161 | |
| 162 | @classmethod |
| 163 | def title(cls, title: str) -> "Control": |
| 164 | """Set the terminal window title |
| 165 | |
| 166 | Args: |
| 167 | title (str): The new terminal window title |
| 168 | """ |
| 169 | return cls((ControlType.SET_WINDOW_TITLE, title)) |
| 170 | |
| 171 | def __str__(self) -> str: |
| 172 | return self.segment.text |
no outgoing calls