nano

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

commit 189de5ee781fd11230c0412719582aba6e207d55
parent c57d040e999a91cdf5d799ccf84aa6777a26777f
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Wed, 12 Jun 2019 09:46:19 +0200

files: suppress feedback when writing an emergency or temporary file

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

Bug existed since commit 47770bd3 from two weeks ago.

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

diff --git a/src/files.c b/src/files.c @@ -1859,7 +1859,8 @@ bool write_file(const char *name, FILE *f_open, bool tmp, } } - statusbar(_("Writing...")); + if (!tmp) + statusbar(_("Writing...")); while (fileptr != NULL) { size_t data_len = strlen(fileptr->data), size;