The attached patch makes
(multiple-value-bind (x y) (window-viewport-position pane)
(setf (window-viewport-position pane)
(values x (+ y (stream-line-height pane)))))
work as expected -- or at least as I assume it should work...
Cheers,
-- Nikodemus Schemer: "Buddha is small, clean, and serious."
Lispnik: "Buddha is big, has hairy armpits, and laughs."