Skip to content
Snippets Groups Projects
Commit 39f5063c authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Add a regression test for bug fixed in previous commit.

parent 3dfa12a6
No related branches found
No related tags found
No related merge requests found
Pipeline #5720 passed
......@@ -1176,6 +1176,17 @@ var tests = [
return true;
// TODO: Interactive...
}},
{'name':'Regressions', 'func':function() {
// Fixed by 3dfa12a6cac
// Deleting lines could move rows that are off the screen
// in a box that has a negative height
console.clear();
console.gotoxy(1, 2);
console.write(format("\x1b[2;%dr", console.screen_rows - 1));
console.gotoxy(1, 2);
console.write(format("\x1b[%dM", console.screen_rows - 1));
return true;
}},
];
function main()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment