nano

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

commit e8d20a8e4b1991ae2490cb8b5c6ee34316c24d67
parent 6896d8df473bc16ecd88e5cef2b907e79fd5c911
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Tue, 14 Jan 2020 10:49:12 +0100

display: clear the help lines before a briefly shown warning

This makes the message stand out more.

Also slightly shorten the duration of the pause.

Diffstat:
Msrc/winio.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/winio.c b/src/winio.c @@ -2247,8 +2247,9 @@ void statusbar(const char *msg) * message can be noticed and read. */ void warn_and_shortly_pause(const char *msg) { + blank_bottombars(); statusline(ALERT, msg); - napms(1800); + napms(1500); } /* Display the shortcut list corresponding to menu on the last two rows