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
373 B
Raw Blame
import Tree from '../tree'
import { rowShapeOf } from './row-shape-of.js'

/**
 * The rows of a pane's body, top to bottom, each as the layout tests read
 * it (rowShapeOf).
 *
 * @param tree the pane's tree, its body the first child
 * @returns each row's shape
 */
export const rowShapesOf = (tree: unknown) =>
  Tree.childrenOf(Tree.childrenOf(tree)[0]).map(rowShapeOf)