MCPcopy Create free account
hub / github.com/codehamr/codehamr / handleWindowSize

Method handleWindowSize

internal/tui/model.go:513–542  ·  view source on GitHub ↗

handleWindowSize tracks new dimensions, rebuilds the glamour renderer on a wrap-width change, emits the splash on the first frame, and on a true width change starts the debounced resize-settle cycle (suppressView until the settle tick lands at the matching gen).

(msg tea.WindowSizeMsg)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

updateMethod · 0.95

Calls 3

recomputeLayoutMethod · 0.95
splashLinesMethod · 0.95
SetWidthMethod · 0.80

Tested by

no test coverage detected