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