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

Function create_capture_console

tests/test_live.py:11–21  ·  view source on GitHub ↗
(
    *, width: int = 60, height: int = 80, force_terminal: Optional[bool] = True
)

Source from the content-addressed store, hash-verified

9
10
11def create_capture_console(
12 *, width: int = 60, height: int = 80, force_terminal: Optional[bool] = True
13) -> Console:
14 return Console(
15 width=width,
16 height=height,
17 force_terminal=force_terminal,
18 legacy_windows=False,
19 color_system=None, # use no color system to reduce complexity of output,
20 _environ={},
21 )
22
23
24def test_live_state() -> None:

Calls 1

ConsoleClass · 0.90

Tested by

no test coverage detected