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

Function dimContent

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

Source from the content-addressed store, hash-verified

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

Callers 1

renderMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected