Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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_highlight_regex_callable
Function · 0.45
test_control
Function · 0.45
table_movie.py
File · 0.45
_reset
Method · 0.45
__rich_console__
Method · 0.45
write
Method · 0.45
split_and_crop_lines
Method · 0.45
Calls
no outgoing calls
Tested by
2
test_highlight_regex_callable
Function · 0.36
test_control
Function · 0.36