mirror of
https://github.com/anthropics/claude-code.git
synced 2026-09-14 19:48:39 +08:00
18be13be81
Squash merge of 4 commits
12 lines
336 B
TypeScript
12 lines
336 B
TypeScript
import Ask from '../../../hooks/ask'
|
|
import { ASK_LINES } from './ask-lines.js'
|
|
|
|
/**
|
|
* Room for ASK_LINES' first two lines and the cut note, each line with its
|
|
* newline, and not a character more.
|
|
*/
|
|
export const ROOM_FOR_TWO_LINES = ASK_LINES.slice(0, 2).reduce(
|
|
(sum, line) => sum + line.length + 1,
|
|
Ask.ASK_CUT_NOTE.length,
|
|
)
|