Commit caf5fceb authored by Luis Javier Merino's avatar Luis Javier Merino
Browse files

Insert Lines should be a noop if outside margins

From esctest:
ICHTests.test_ICH_ScrollOffRightMarginInScrollRegion
parent 8c3a1f83
......@@ -320,6 +320,9 @@ void Screen::deleteLines(int n)
void Screen::insertLines(int n)
{
if (_cuY < _topMargin) {
return;
}
if (n < 1) {
n = 1; // Default
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment