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

Method cell_len

rich/text.py:225–227  ·  view source on GitHub ↗

Get the number of cells required to render this text.

(self)

Source from the content-addressed store, hash-verified

223
224 @property
225 def cell_len(self) -> int:
226 """Get the number of cells required to render this text."""
227 return cell_len(self.plain)
228
229 @property
230 def markup(self) -> str:

Callers 3

Calls 1

cell_lenFunction · 0.85

Tested by 3