Skip to content

rs_rich.segment

Generated from the type stubs by scripts/gen_python_api.py; do not edit.

rich.segment: Segment, the unit of rendered output.

Segment

text property

text: str

style property

style: Optional[Style]

control property

control: Optional[Any]

cell_length property

cell_length: int

is_control property

is_control: bool

line classmethod

line() -> Segment