fix more minor screen update problems

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2722 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
David Lawrence Ramsey 2005-06-18 14:05:21 +00:00
parent 7098ec233c
commit cd0210ff3e
3 changed files with 11 additions and 9 deletions

View File

@ -218,8 +218,9 @@ CVS code -
unnecessary update, and remove an unneeded clearok(FALSE).
(DLR)
do_spell()
- If the spell-checker printed any error messages onscreen, make
sure they're cleared off. (DLR, found by CHAO Wei-Lun)
- If the spell-checker printed any error messages onscreen, call
total_refresh() to make sure they're cleared off. (DLR, found
by CHAO Wei-Lun)
do_output()
- Properly allow wrapping when we insert a tab, for consistency.
(DLR)
@ -298,11 +299,11 @@ CVS code -
consistency. (DLR)
- Rename variables def and ret to curranswer and retval to avoid
confusion. (DLR)
- Call wrefresh(bottomwin) after getting an answer and blanking
out the statusbar, to make sure that the blanking is done.
This fixes a problem where the statusbar is not properly
blanked after using the "Go To Line" prompt with the NO_HELP
flag set. (DLR)
- Call wnoutrefresh(bottomwin) and reset_cursor() after getting
an answer and blanking out the statusbar, to make sure that
the blanking is done. This fixes a problem where the
statusbar is not properly blanked after using the "Go To Line"
prompt with the NO_HELP flag set. (DLR)
do_help()
- Don't treat NANO_CANCEL_KEY as NANO_EXIT_KEY anymore, for
consistency. (DLR)

View File

@ -2509,7 +2509,7 @@ void do_spell(void)
/* If the spell-checker printed any error messages onscreen, make
* sure they're cleared off. */
total_update();
total_refresh();
if (spell_msg != NULL)
statusbar(_("Spell checking failed: %s: %s"), spell_msg,

View File

@ -2659,7 +2659,8 @@ int statusq(bool allow_tabs, const shortcut *s, const char *curranswer,
}
blank_statusbar();
wrefresh(bottomwin);
wnoutrefresh(bottomwin);
reset_cursor();
#ifdef DEBUG
fprintf(stderr, "answer = \"%s\"\n", answer);