1
1

display: keep the cursor put, also when toggling nohelp or morespace

Also when toggling the help lines back on or the extra editing space
back off, keep the cursor near the bottom of the screen if it /was/
there, instead of centering it -- if smooth scrolling is on, that is.

This supplements the fix for https://savannah.gnu.org/bugs/?50933.
Этот коммит содержится в:
Benno Schulenberg 2017-05-05 12:06:48 +02:00
родитель 2b38547875
Коммит 7b5cc1dcda

Просмотреть файл

@ -1386,6 +1386,7 @@ void do_toggle(int flag)
case MORE_SPACE:
case NO_HELP:
window_init();
focusing=FALSE;
total_refresh();
break;
case SUSPEND: