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

Function TestPromptGrowsOnWrappedLongLine

internal/tui/tui_test.go:2374–2383  ·  view source on GitHub ↗

TestPromptGrowsOnWrappedLongLine: a long paragraph typed without Enter has LineCount()==1, so relying on it sticks the textarea at 1 row while text wraps off-screen. recomputeLayout must count *visual* rows.

(t *testing.T)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

newTestModelFunction · 0.85
SetValueMethod · 0.80
recomputeLayoutMethod · 0.80
HeightMethod · 0.80

Tested by

no test coverage detected