nano

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

commit 9e44a53be77224f6096874d4bc29cc7f51c33757
parent 0c561f03253fdbe906bd6f3be8a946eea8682ff5
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Tue, 30 Apr 2019 19:31:44 +0200

copying: scroll just one line when M-6 is pressed on the bottom row

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

Bug existed since version 2.6.0, commit 318ed6b1.

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

diff --git a/src/cut.c b/src/cut.c @@ -426,7 +426,8 @@ void do_copy_text(void) openfile->firstcolumn = is_firstcolumn; openfile->current = fsfromline(is_current_lineno); openfile->current_x = is_current_x; - } + } else + focusing = FALSE; } /* Cut from the current cursor position to the end of the file. */