display: when a message gets overwritten, note that it is cleared

When on a one-row terminal a message gets automatically "dropped"
after a few moments, the subsequent waiting for a keystroke should
not think that there is still a message on the status bar.

This fixes https://savannah.gnu.org/bugs/?60591.

Bug existed since commit 8d974cd2 from two days ago.
master
Benno Schulenberg 2021-05-12 16:00:11 +02:00
parent b741b1c985
commit 6472a6b828
1 changed files with 1 additions and 0 deletions

View File

@ -217,6 +217,7 @@ void read_keys_from(WINDOW *win)
if (input == ERR) {
if (LINES == 1) {
lastmessage = VACUUM;
edit_refresh();
curs_set(1);
} else