Commit 07a39e8e authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

screen: don't simulate a sigwinch but directly reinitialize the screen

This fixes the second part of https://savannah.gnu.org/bugs/?48331

.
Reported-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 1d7c1776
Showing with 3 additions and 4 deletions
+3 -4
......@@ -1298,10 +1298,9 @@ RETSIGTYPE do_continue(int signal)
#endif
#ifndef NANO_TINY
/* Perhaps the user resized the window while we slept. Handle it,
* and restore the terminal to its previous state and update the
* screen in the process. */
handle_sigwinch(0);
/* Perhaps the user resized the window while we slept. So act as if,
* and restore the terminal to its previous state in the process. */
regenerate_screen();
#else
/* Restore the terminal to its previous state. */
terminal_init();
......
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