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.
TypeScript
import Limits from '../../limits'
import type { Kit } from '../kit'
/**
* A drawing's kit inside the docked pane's padding: the built-in's blank
* last column taken off.
*
* No row comes off: the blank row above the header is the engine's own,
* the one it keeps over a docked pane's body for its close mark.
*
* @param kit the drawing's kit at the pane's full size
* @returns the kit its body draws with
*/
export const insetOf = (kit: Kit): Kit => ({
...kit,
columns: Math.max(1, kit.columns - Limits.PANE_RIGHT_PAD_COLUMNS),
})