This is still a low-confidence fix, which is why I'm not going to invest effort in fixing the tests. Or even thinking about whether the tests should continue to express constraints when editing a single pane standalone.
QHO334GXPB6KN3WPGTBMCYTZUSJ53DANEDXCQFAVPFHP2YOLNB5AC
if y - h < State.top then
local min = State.top
if not App.run_tests then
-- HACK: when rendering multiple panes, back off just a bit on keeping
-- cursor all the way at the bottom.
-- We need to compensate for plan_draw potentially moving the viewport,
-- and ensure the cursor doesn't go off screen.
min = min + State.line_height/2
end
if y - h < min then