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 · 303 BRaw
1/**
2 * What the plugin knows of its pane when `/diff` runs.
3 *
4 * Whether the pane is open (it opened it, and no close of any origin has
5 * gone through since), and the terminal's width as last drawn (null before
6 * any draw).
7 */
8export type PaneBelief = {
9 isOpen: boolean
10 columns: number | null
11}