Commit 7b5cc1dc authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

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.
No related merge requests found
Showing with 1 addition and 0 deletions
+1 -0
......@@ -1386,6 +1386,7 @@ void do_toggle(int flag)
case MORE_SPACE:
case NO_HELP:
window_init();
focusing=FALSE;
total_refresh();
break;
case SUSPEND:
......
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