Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
56
def
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
Segment
Class · 0.90
title
Method · 0.80
Tested by
no test coverage detected