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

Function wrapForScrollback

internal/tui/render.go:48–64  ·  view source on GitHub ↗

wrapForScrollback hard-wraps every line of s to the terminal width before it goes to tea.Println. bubbletea's standard renderer dumps queued Println lines verbatim - unlike its View paint path it never truncates them - so a line wider than the terminal is soft-wrapped by the terminal into extra phys

(s string, width int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls

no outgoing calls