tweaks: don't bother redrawing some lines when whole screen will be redrawn
parent
01bbf7e82f
commit
9d5ee16614
|
@ -2901,6 +2901,7 @@ void edit_redraw(filestruct *old_current)
|
|||
openfile->current->lineno < openfile->edittop->lineno) {
|
||||
adjust_viewport((focusing || !ISSET(SMOOTH_SCROLL)) ? CENTERING : FLOWING);
|
||||
refresh_needed = TRUE;
|
||||
return;
|
||||
}
|
||||
|
||||
#ifndef NANO_TINY
|
||||
|
|
Loading…
Reference in New Issue