MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / wrapText

Function wrapText

source code/components/MarkdownTable.tsx:46–64  ·  view source on GitHub ↗

* Wrap text to fit within a given width, returning array of lines. * ANSI-aware: preserves styling across line breaks. * * @param hard - If true, break words that exceed width (needed when columns * are narrower than the longest word). Default false.

(text: string, width: number, options?: {
  hard?: boolean;
})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

AgentLineFunction · 0.70
calculateMaxRowLinesFunction · 0.70
renderRowLinesFunction · 0.70
renderVerticalFormatFunction · 0.70
generateWordDiffElementsFunction · 0.50
formatDiffFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected