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-two-lines.ts
11 lines · 336 BRaw
1import Ask from '../../../hooks/ask'
2import { ASK_LINES } from './ask-lines.js'
3
4/**
5 * Room for ASK_LINES' first two lines and the cut note, each line with its
6 * newline, and not a character more.
7 */
8export const ROOM_FOR_TWO_LINES = ASK_LINES.slice(0, 2).reduce(
9 (sum, line) => sum + line.length + 1,
10 Ask.ASK_CUT_NOTE.length,
11)