MCPcopy Create free account
hub / github.com/Noumena-Network/code / normalizeTerminalText

Function normalizeTerminalText

src/ink/replPerfHarness.tsx:272–274  ·  view source on GitHub ↗
(output: string)

Source from the content-addressed store, hash-verified

270}
271
272export function normalizeTerminalText(output: string): string {
273 return stripTerminalOutput(output).replace(/\s+/g, ' ').trim()
274}
275
276export function parseCounter(
277 output: string,

Calls 1

stripTerminalOutputFunction · 0.85

Tested by

no test coverage detected