MCPcopy Create free account
hub / github.com/codeaashu/claude-code / intoLines

Function intoLines

src/native-ts/color-diff/index.ts:819–826  ·  view source on GitHub ↗
(
  h: Highlight,
  dim: boolean,
  skipBg: boolean,
  mode: ColorMode,
)

Source from the content-addressed store, hash-verified

817}
818
819function intoLines(
820 h: Highlight,
821 dim: boolean,
822 skipBg: boolean,
823 mode: ColorMode,
824): string[] {
825 return h.lines.map(line => asTerminalEscaped(line, mode, skipBg, dim))
826}
827
828// ---------------------------------------------------------------------------
829// Public API

Callers 2

renderMethod · 0.85
renderMethod · 0.85

Calls 1

asTerminalEscapedFunction · 0.85

Tested by

no test coverage detected