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

Function test_title

tests/test_control.py:56–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54
55
56def test_title():
57 control_segment = Control.title("hello").segment
58 assert control_segment == Segment(
59 "\x1b]0;hello\x07",
60 None,
61 [(ControlType.SET_WINDOW_TITLE, "hello")],
62 )

Callers

nothing calls this directly

Calls 2

SegmentClass · 0.90
titleMethod · 0.80

Tested by

no test coverage detected