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 / names / focused-pane / focused-pane.ts
9 lines · 292 BRaw
1import type { PaneOpenArgs } from 'claude-code'
2
3/**
4 * The part of `$.ui.open`'s argument that asks the surface for the
5 * person's keyboard: what `/diff` adds and the first-edit open leaves out.
6 */
7export const FOCUSED_PANE: Pick<PaneOpenArgs, 'focus'> = Object.freeze({
8 focus: true,
9})