It wouldn't clear the last column on the screen.
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
return 0;
}
if (c == 'J') {
- clear_across(cursory, cursorx, VT_RIGHT - cursorx);
+ clear_across(cursory, cursorx, VT_RIGHT - cursorx + 1);
clear_lines(cursory + 1, VT_BOTTOM - cursory);
return 0;
}
if (c == 'K') {
- clear_across(cursory, cursorx, VT_RIGHT - cursorx);
+ clear_across(cursory, cursorx, VT_RIGHT - cursorx + 1);
return 0;
}
if (c == 'Y')