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

Method visualPromptLines

internal/tui/render.go:165–178  ·  view source on GitHub ↗

visualPromptLines counts the *visual* rows the textarea needs (a line that wraps to three screen rows wants a three-row textarea), via wrapRows which mirrors bubbles/textarea's wrap() (see there for the grapheme-cluster caveat). Reads DisplayValue so a chip counts as one line, not the hundreds its e

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 2

wrapRowsFunction · 0.85
DisplayValueMethod · 0.80