Commit 97f0e62f authored by deuce's avatar deuce
Browse files

Fix dellines()

parent 23f263b3
......@@ -1145,8 +1145,8 @@ dellines(struct cterminal * cterm, int lines)
coord_conv_xy(cterm, CTERM_COORD_TERM, CTERM_COORD_SCREEN, &maxx, &maxy);
TERM_XY(&x, &y);
SCR_XY(&sx, &sy);
MOVETEXT(minx, sy + lines, minx, maxy, minx, sy);
for(i = TERM_MAXY - lines; i <= maxy; i++) {
MOVETEXT(minx, sy + lines, maxx, maxy, minx, sy);
for(i = TERM_MAXY - lines; i <= TERM_MAXY; i++) {
GOTOXY(TERM_MINX, i);
CLREOL();
}
......
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