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