nano

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

commit a962bceca60b7c6d1931ff89afd78cfda9cbdf15
parent e0c5c589ad3d1eccb4264e5e18e97babdf0cb437
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Fri,  3 May 2019 12:24:48 +0200

copying: let a copy command break a chain of cut or zap commands

This fixes the second part of https://savannah.gnu.org/bugs/?56261.

Bug existed since zapping was introduced, in version 3.2.

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

diff --git a/src/cut.c b/src/cut.c @@ -420,6 +420,8 @@ void do_copy_text(void) openfile->current_x = is_current_x; } else focusing = FALSE; + + openfile->last_action = OTHER; } /* Cut from the current cursor position to the end of the file. */