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 / pane.ts
19 lines · 452 BRaw
1import type { RenderInput } from 'claude-code'
2
3/**
4 * The diff pane docked on a 160-column terminal, unfocused, 80 columns of
5 * body and 30 rows in view.
6 */
7export const PANE: RenderInput<'Pane'> = {
8 component: 'Pane',
9 surface: 'terminal',
10 requestId: 'diff',
11 viewport: { columns: 160, rows: 40 },
12 props: {
13 title: 'Diff',
14 isFocused: false,
15 bodyColumns: 80,
16 placement: 'dock',
17 scroll: { offset: 0, bodyRows: 30 },
18 },
19}