is running, so that it can handle them, and unblock them once
it's finished and we've loaded the spell-checked file back in.
(DLR)
+ - Use doupdate() to reenter curses mode instead of refresh().
+ (DLR)
do_spell()
- When displaying an error message from do_(int|alt)_speller(),
don't display the error message corresponding to errno if
do_justify()
- If constant cursor position display is on, make sure the
cursor position is displayed properly when we finish. (DLR)
+ handle_sigwinch()
+ - Use doupdate() to reenter curses mode instead of refresh().
+ (DLR)
allow_pending_sigwinch()
- Simplify by using the "?" operator instead of an if clause.
(DLR)
void do_cont(int signal)
{
#ifndef NANO_SMALL
- /* Perhaps the user resized the window while we slept. Handle it
+ /* Perhaps the user resized the window while we slept. Handle it,
* and update the screen in the process. */
handle_sigwinch(0);
#else
- /* Just update the screen. */
+ /* Reenter curses mode, and update the screen in the process. */
doupdate();
#endif
}
/* Do the equivalent of what Minimum Profit does: Leave and
* immediately reenter curses mode. */
endwin();
- refresh();
+ doupdate();
#endif
/* Restore the terminal to its previous state. */
/* Wait for the alternate spell checker to finish. */
wait(&alt_spell_status);
- refresh();
+ /* Reenter curses mode. */
+ doupdate();
/* Restore the terminal to its previous state. */
terminal_init();