MCPcopy Create free account
hub / github.com/codeaashu/claude-code / getLayoutMode

Function getLayoutMode

src/utils/logoV2Utils.ts:35–38  ·  view source on GitHub ↗
(columns: number)

Source from the content-addressed store, hash-verified

33 * Determines the layout mode based on terminal width
34 */
35export function getLayoutMode(columns: number): LayoutMode {
36 if (columns >= 70) return 'horizontal'
37 return 'compact'
38}
39
40/**
41 * Calculates layout dimensions for the LogoV2 component

Callers 1

LogoV2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected