Insert non-printing control codes. Args: control_codes (str): Control codes, such as those that may move the cursor.
(self, *control: Control)
| 1608 | self.print(rule) |
| 1609 | |
| 1610 | def control(self, *control: Control) -> None: |
| 1611 | """Insert non-printing control codes. |
| 1612 | |
| 1613 | Args: |
| 1614 | control_codes (str): Control codes, such as those that may move the cursor. |
| 1615 | """ |
| 1616 | if not self.is_dumb_terminal: |
| 1617 | with self: |
| 1618 | self._buffer.extend(_control.segment for _control in control) |
| 1619 | |
| 1620 | def out( |
| 1621 | self, |