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 / beneath / left-waiting.ts
17 lines · 575 BRaw
1import type { ResultOf } from 'claude-code'
2
3/**
4 * What an engine answers an open it leaves waiting undrawn: the plugin
5 * opened unasked on a terminal narrower than an unrequested pane is given.
6 *
7 * Typed through `never` so it compiles against declarations that predate the
8 * answer, where `ui.open` resolves nothing.
9 */
10export const LEFT_WAITING: ResultOf['ui.open'] = {
11 value: {
12 isPlaced: false,
13 reason:
14 'unasked below 144 columns (120 now): placed when the person opens ' +
15 'it, or when the terminal is widened to 144 columns',
16 } as never,
17}