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 / max-body-nodes / max-body-nodes.ts
8 lines · 278 BRaw
1/**
2 * The most nodes the drawn file bodies hold between them, a hunk's `Code`
3 * one, a file's frame FILE_FRAME_NODES.
4 *
5 * Under the host's whole-tree cap (2 000), with room for the list, the
6 * pre-session legend and the pane's rest.
7 */
8export const MAX_BODY_NODES = 1_500