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

Function TestPromptAutoGrowsWithContent

internal/tui/tui_test.go:2388–2409  ·  view source on GitHub ↗

TestPromptAutoGrowsWithContent: the textarea starts at 1 line, grows with newlines, and clamps to height - minViewport - 2 - popover, so big pastes use most of the screen while chat keeps its floor.

(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
HeightMethod · 0.80
SetValueMethod · 0.80
recomputeLayoutMethod · 0.80

Tested by

no test coverage detected