nano

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

commit 69a7dd86ec3052211b33817f78321cf70e8789f4
parent fdcafb83e3e23da645ca813991f448c907935673
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Tue, 11 Apr 2023 11:44:27 +0200

feedback: suppress filename and linecount when --zero is active

This suppression prevents the filename flashing by at the bottom
of the screen when switching between buffers.

This addresses https://savannah.gnu.org/bugs/?64019
Reported-by: Alan Cristhian Ruiz <alancristhian@protonmail.com>

Problem existed since version 6.0, since --zero was introduced.

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

diff --git a/src/files.c b/src/files.c @@ -535,7 +535,8 @@ void mention_name_and_linecount(void) if (ISSET(MINIBAR)) { report_size = TRUE; return; - } + } else if (ISSET(ZERO)) + return; if (openfile->fmt > NIX_FILE) /* TRANSLATORS: First %s is file name, second %s is file format. */