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 / tests / fixtures / ask / room-for-one-line.ts
8 lines · 258 BRaw
1import Ask from '../../../hooks/ask'
2import { ASK_LINES } from './ask-lines.js'
3
4/**
5 * Room for ASK_LINES' heading line and the cut note only, so no hunk line.
6 */
7export const ROOM_FOR_ONE_LINE =
8 (ASK_LINES[0]?.length ?? 0) + 1 + Ask.ASK_CUT_NOTE.length