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 / hint.ts
14 lines · 491 BRaw
1import type { RenderInput } from 'claude-code'
2
3/**
4 * The prompt's hint on a 160-column terminal under the fullscreen layout:
5 * drawing it is how the plugin learns how wide the terminal is and whether a
6 * pane docks beside the transcript there.
7 */
8export const HINT: RenderInput<'PromptHint'> = {
9 component: 'PromptHint',
10 surface: 'terminal',
11 requestId: 'hint',
12 viewport: { columns: 160, rows: 40, isFullscreen: true },
13 props: { isDraft: false, isWorking: false, hint: '' },
14}