Accommodate for the two lines of clearing ahead when in KDL. This avoids over-
writing lines that are printed below the previously cleared lines when paging. Fixes bug #4145. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31865 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
55feb44e82
commit
ab5421283b
|
@ -159,6 +159,9 @@ next_line(void)
|
|||
sModule->fill_glyph(sScreen.columns - length, sScreen.y, length,
|
||||
1, ' ', sScreen.attr);
|
||||
}
|
||||
|
||||
if (sScreen.in_command_rows > 0)
|
||||
sScreen.in_command_rows += 2;
|
||||
}
|
||||
if (sScreen.y == sScreen.rows - 1) {
|
||||
sScreen.y = 0;
|
||||
|
|
Loading…
Reference in New Issue