Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Textualize/rich
/ __init__
Method
__init__
rich/ansi.py:123–124 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
121
""
"Translate ANSI code in to styled Text."
""
122
123
def
__init__(self) -> None:
124
self.style = Style.null()
125
126
def
decode(self, terminal_text: str) -> Iterable[Text]:
127
""
"Decode ANSI codes in an iterable of lines.
Callers
nothing calls this directly
Calls
1
null
Method · 0.80
Tested by
no test coverage detected