MCPcopy Index your code
hub / github.com/callstack/agent-device / clearLinePrefix

Function clearLinePrefix

src/replay/test/progress.ts:266–268  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

264}
265
266function clearLinePrefix(text: string): string {
267 return `\r\x1B[2K${text}`;
268}
269
270function resolveColumns(columns: number | undefined): number {
271 return typeof columns === 'number' && Number.isFinite(columns) && columns > 0

Callers 1

renderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected