1
1

in statusq(), 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


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2720 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Этот коммит содержится в:
David Lawrence Ramsey 2005-06-18 04:32:26 +00:00
родитель 26e637bf12
Коммит 62898233ac
2 изменённых файлов: 6 добавлений и 0 удалений

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

@ -298,6 +298,11 @@ CVS code -
consistency. (DLR) consistency. (DLR)
- Rename variables def and ret to curranswer and retval to avoid - Rename variables def and ret to curranswer and retval to avoid
confusion. (DLR) 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)
do_help() do_help()
- Don't treat NANO_CANCEL_KEY as NANO_EXIT_KEY anymore, for - Don't treat NANO_CANCEL_KEY as NANO_EXIT_KEY anymore, for
consistency. (DLR) consistency. (DLR)

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

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