tweaks: remove two superfluous calls of wnoutrefresh()
The bottomwin has just been refreshed by update_the_statusbar(), and it should not be the responsibility of the prompt routines to keep the edit window up to date, as they don't write anything there.
Этот коммит содержится в:
родитель
1423e57199
Коммит
ac9550d4c2
@ -459,10 +459,6 @@ functionptrtype acquire_an_answer(int *actual, bool allow_tabs,
|
||||
|
||||
update_the_statusbar();
|
||||
|
||||
/* Refresh edit window and statusbar before getting input. */
|
||||
wnoutrefresh(edit);
|
||||
wnoutrefresh(bottomwin);
|
||||
|
||||
while (TRUE) {
|
||||
/* Ensure the cursor is shown when waiting for input. */
|
||||
curs_set(1);
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user