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 / pane-seat / pane-seat.ts
11 lines · 400 BRaw
1/**
2 * Where the surface put the pane for one drawing (`props.placement`), and
3 * how wide the terminal is (`viewport.columns`; null before it measured).
4 *
5 * Inline on a terminal the dock would fit (OPEN_MIN_COLUMNS) means the
6 * session draws no fullscreen layout, where the built-in shows its dialog.
7 */
8export type PaneSeat = {
9 placement: 'dock' | 'inline'
10 terminalColumns: number | null
11}