This was an off-by-one issue when using scroll margins just shorter than the screen and when scrollback is enabled. Added a unit test to verify the behavior.
This was an off-by-one issue when using scroll margins just shorter than the screen and when scrollback is enabled. Added a unit test to verify the behavior.