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

Method clear

rich/control.py:145–147  ·  view source on GitHub ↗

Clear the screen.

(cls)

Source from the content-addressed store, hash-verified

143
144 @classmethod
145 def clear(cls) -> "Control":
146 """Clear the screen."""
147 return cls(ControlType.CLEAR)
148
149 @classmethod
150 def show_cursor(cls, show: bool) -> "Control":

Callers 7

test_controlFunction · 0.45
table_movie.pyFile · 0.45
_resetMethod · 0.45
__rich_console__Method · 0.45
writeMethod · 0.45
split_and_crop_linesMethod · 0.45

Calls

no outgoing calls

Tested by 2

test_controlFunction · 0.36