An error occurred while fetching folder content.
scrolling: don't redraw entire edit window when cursor goes offscreen
Benno Schulenberg authored
When the cursor is on the top or bottom line of the edit window, and
an <Up> or <Down> pushes the cursor offscreen, then use edit_scroll()
to bring it back into view, instead of using edit_redraw(), because
the latter would redraw *every row* on the screen, which is a waste
of time.

This addresses https://savannah.gnu.org/bugs/?53562

.
Reported-by: default avatarDevin Hussey <husseydevin@gmail.com>
0d9080a2
Name Last commit Last update