Commit 503654e6 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

screen: don't redraw some lines when doing a full refresh anyway

When in softwrap mode and scrolling down a line, and thus going to
do a full refresh, get out and don't bother redrawing the current
and prior lines first.
No related merge requests found
Showing with 4 additions and 1 deletion
+4 -1
......@@ -493,8 +493,11 @@ void do_down(
(ISSET(SMOOTH_SCROLL) || scroll_only) ? amount :
#endif
editwinrows / 2 + 1);
if (ISSET(SOFTWRAP))
if (ISSET(SOFTWRAP)) {
edit_refresh_needed = TRUE;
return;
}
}
/* If we're not on the last line of the edit window, and the target
......
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