nano

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

commit b84d7bf7a5b3390a44e5de1bb12db21c64748499
parent 6840205e84422c8394c1998613a1a31352e0bc3a
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Wed, 12 Sep 2018 15:18:50 +0200

input: keep the cursor in edit window after message, also on NetBSD

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

Diffstat:
Msrc/winio.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/winio.c b/src/winio.c @@ -1319,6 +1319,7 @@ int parse_escape_sequence(WINDOW *win, int kbinput) lastmessage = HUSH; if (currmenu == MMAIN) { place_the_cursor(); + wnoutrefresh(edit); /* Needed for correct placement on NetBSD. */ curs_set(1); } }