nano

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

commit 0eef5610eb041c6bef773058072519e0f5d1423f
parent 2a55d2b29a4f4d4fb8c2d9c3d1e16b1f275b1549
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Tue, 25 Oct 2016 13:28:21 +0200

files: mark a new buffer as modified after inserting command output

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

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

diff --git a/src/files.c b/src/files.c @@ -1206,6 +1206,8 @@ void do_insertfile(void) openfile->current = openfile->fileage; openfile->current_x = 0; openfile->placewewant = 0; + + set_modified(); } #endif } else