Undo screen refresh optimization
This commit is contained in:
parent
6726c51a12
commit
6cb936888f
@ -1349,12 +1349,17 @@ void IEclass::DelChar() {
|
|||||||
// Make sure the line type still is correct
|
// Make sure the line type still is correct
|
||||||
setlinetype(_thisline);
|
setlinetype(_thisline);
|
||||||
|
|
||||||
wrapdel(&currline, &col, &row, false);
|
// Rewrap this line
|
||||||
|
bool display = make_bool_not(row > maxrow / 2);
|
||||||
if (((row-1) == minrow) && currline->prev)
|
wrapdel(&currline, &col, &row, display);
|
||||||
refresh(currline->prev, minrow);
|
if(display) {
|
||||||
else
|
|
||||||
refresh(currline, row);
|
refresh(currline, row);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
// Refresh the display
|
||||||
|
Line* _topline = findtopline();
|
||||||
|
refresh(_topline, minrow);
|
||||||
|
}
|
||||||
|
|
||||||
GFTRK(NULL);
|
GFTRK(NULL);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user