nano

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

commit a84653dc19216ba5e717811857454ceb1189a813
parent 1388af2bdcfadc2e4285f0d0c9a95a300bc39629
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Fri,  3 Jul 2020 12:55:23 +0200

feedback: show the cursor position also at startup in an empty buffer

When using --constantshow and --nohelp and opening a new buffer,
the cursor location should be shown on the status bar right away.

Bug existed since commit 2e688640 from a few hours ago.

Diffstat:
Msrc/global.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/global.c b/src/global.c @@ -70,7 +70,7 @@ bool as_an_at = TRUE; bool control_C_was_pressed = FALSE; /* Whether Ctrl+C was pressed (when a keyboard interrupt is enabled). */ -message_type lastmessage = HUSH; +message_type lastmessage = VACUUM; /* Messages of type HUSH should not overwrite type MILD nor ALERT. */ linestruct *pletion_line = NULL;