spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

claude-code / mods / diff / hooks / views / detail / rows-of / max-highlights / max-highlights.ts
5 lines · 190 BRaw
1/**
2 * How many word-diff highlights one body may draw; past it lines draw plain,
3 * keeping the tree under its node cap (each highlight is two nodes).
4 */
5export const MAX_HIGHLIGHTS = 300