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

Function dimContent

src/native-ts/color-diff/index.ts:758–766  ·  view source on GitHub ↗
(h: Highlight)

Source from the content-addressed store, hash-verified

756}
757
758function dimContent(h: Highlight): void {
759 for (const line of h.lines) {
760 if (line.length > 0) {
761 line[0]![1] = DIM + line[0]![1]
762 const last = line.length - 1
763 line[last]![1] = line[last]![1] + UNDIM
764 }
765 }
766}
767
768function applyBackground(h: Highlight, theme: Theme, ranges: Range[]): void {
769 if (!h.marker) return

Callers 1

renderMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected