nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 6472a6b82840336be1eacdd7a515af08d49f0de0
parent b741b1c985cca9a295562456b6d7ecabb8772d9a
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Wed, 12 May 2021 16:00:11 +0200

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.

Diffstat:
Msrc/winio.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/winio.c b/src/winio.c @@ -217,6 +217,7 @@ void read_keys_from(WINDOW *win) if (input == ERR) { if (LINES == 1) { + lastmessage = VACUUM; edit_refresh(); curs_set(1); } else