MCPcopy
hub / github.com/Textualize/rich / control

Method control

rich/console.py:1610–1618  ·  view source on GitHub ↗

Insert non-printing control codes. Args: control_codes (str): Control codes, such as those that may move the cursor.

(self, *control: Control)

Source from the content-addressed store, hash-verified

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,

Callers 7

test_controlFunction · 0.95
bellMethod · 0.95
clearMethod · 0.95
show_cursorMethod · 0.95
set_alt_screenMethod · 0.95
set_window_titleMethod · 0.95
stopMethod · 0.80

Calls 1

extendMethod · 0.45

Tested by 1

test_controlFunction · 0.76