MCPcopy Create free account
hub / github.com/1jehuang/jcode / strip_ansi

Function strip_ansi

scripts/bench_memory_cli.py:177–178  ·  view source on GitHub ↗
(text: str)

Source from the content-addressed store, hash-verified

175
176
177def strip_ansi(text: str) -> str:
178 return ANSI_RE.sub("", text).replace("\r", "\n")
179
180
181def first_meaningful_line(text: str) -> str | None:

Callers 1

launch_interactiveFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected