MCPcopy Index your code
hub / github.com/codeaashu/claude-code / applyGapStyles

Function applyGapStyles

src/ink/styles.ts:741–753  ·  view source on GitHub ↗
(node: LayoutNode, style: Styles)

Source from the content-addressed store, hash-verified

739}
740
741const applyGapStyles = (node: LayoutNode, style: Styles): void => {
742 if ('gap' in style) {
743 node.setGap(LayoutGutter.All, style.gap ?? 0)
744 }
745
746 if ('columnGap' in style) {
747 node.setGap(LayoutGutter.Column, style.columnGap ?? 0)
748 }
749
750 if ('rowGap' in style) {
751 node.setGap(LayoutGutter.Row, style.rowGap ?? 0)
752 }
753}
754
755const styles = (
756 node: LayoutNode,

Callers 1

stylesFunction · 0.85

Calls 1

setGapMethod · 0.45

Tested by

no test coverage detected