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 / narrow-inline-pane.ts
13 lines · 416 BRaw
1import type { RenderInput } from 'claude-code'
2
3import { INLINE_PANE } from './inline-pane.js'
4
5/**
6 * The diff pane seated inline on a 100-column terminal: too narrow for the
7 * built-in panel, which shows only its wider-terminal line there.
8 */
9export const NARROW_INLINE_PANE: RenderInput<'Pane'> = {
10 ...INLINE_PANE,
11 viewport: { columns: 100, rows: 30 },
12 props: { ...INLINE_PANE.props, bodyColumns: 96 },
13}