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

Method handleResizeSettle

internal/tui/model.go:548–568  ·  view source on GitHub ↗

handleResizeSettle fires once the post-resize debounce expires for the matching gen. Wipes the terminal (so previous-width rows can't soft-wrap into stair-steps), then re-emits splash, replayed scroll, and any pending outbox at the new width. Older debounces self-discard on the gen check.

(msg resizeSettleMsg)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

updateMethod · 0.95

Calls 3

splashLinesMethod · 0.95
wrapForScrollbackFunction · 0.85
StringMethod · 0.80

Tested by

no test coverage detected