nano

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

commit 506f617d5bab72b9a3cc07144ed8ce90d555365c
parent e81e18dd143f2d4c04c99781ebf79a784805786a
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Wed,  3 Jun 2020 10:14:50 +0200

tweaks: remove an unneeded call of wnoutrefresh()

On NetBSD, nano requires ncurses nowadays.  With ncurses, cursor
placement works fine without the extra call of wnoutrefresh().

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

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