Scrolling bug exposed by nvi
Submitted by Chris Wilson
Link to original bug (#417652)
Description
This was reported in Launchpad: https://bugs.launchpad.net/ubuntu/+source/vte/+bug/91017
nvi does not use a restricted scrolling region but instead jumps to the last line, scrolls down, jumps back to the penultimate line and insteads the new text.
Due to a little bit of premature optimization, the insert_delta for the scroll event was only updated after the cursor moved up a row and so did not trigger the required scrolling.
Version: 0.15.x
Resolution: RESOLVED FIXED