Commit 9d5ee166 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

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

parent 01bbf7e8
Showing with 1 addition and 0 deletions
+1 -0
......@@ -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
......
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