tweaks: don't bother redrawing some lines when whole screen will be redrawn

master
Benno Schulenberg 2016-10-20 21:18:17 +02:00
parent 01bbf7e82f
commit 9d5ee16614
1 changed files with 1 additions and 0 deletions

View File

@ -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