Skip to content

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
419 B
Raw Blame
import type { CommandRunInput } from 'claude-code'

import { DIFF } from './diff.js'

/**
 * The command typed under the fullscreen layout on a terminal so many
 * columns wide, as its presentation tells the hooks.
 *
 * @param columns the terminal's width
 * @returns the command's input
 */
export const diffAt = (columns: number): CommandRunInput => ({
  ...DIFF,
  presentation: { isFullscreen: true, columns },
})