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

Function getLayoutMode

source code/utils/logoV2Utils.ts:37–40  ·  view source on GitHub ↗
(columns: number)

Source from the content-addressed store, hash-verified

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

Callers 1

LogoV2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected