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 / layout / slice-cells / cells-split / cells-split.ts
9 lines · 227 BRaw
1/**
2 * A line cut at a cell budget: the head that fits, the budget it spent
3 * (a code point that draws in no cell still spends one), and the tail.
4 */
5export type CellsSplit = {
6 head: string
7 spent: number
8 tail: string
9}