width <= 0 (before the first WindowSizeMsg) is a no-op passthrough.
(t *testing.T)
| 61 | } |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | // TestRenderQueuedCapsVisualRows: queuedBodyCap bounds RENDERED rows, not |
| 66 | // logical lines. A single long echo line soft-wraps inside lipgloss, so an |
| 67 | // uncapped wrap would let the queued box push the status bar off-screen - |
| 68 | // exactly what the cap's own comment promises can't happen. |
| 69 | func TestRenderQueuedCapsVisualRows(t *testing.T) { |
| 70 | m := newTestModel(t, func(http.ResponseWriter, *http.Request) {}) |
| 71 | m.width = 40 |
nothing calls this directly
no test coverage detected