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 / hooks / pane-toggle / pane-belief / pane-belief.ts
11 lines · 329 BRaw
1/**
2 * What the plugin knows of its pane when `/diff` runs.
3 *
4 * Whether it opened it and never closed it, whether it drew when a redraw
5 * was asked, and the terminal's width as last drawn (null before any draw).
6 */
7export type PaneBelief = {
8 isBelievedOpen: boolean
9 wasDrawnWhenProbed: boolean
10 columns: number | null
11}