From 506f617d5bab72b9a3cc07144ed8ce90d555365c Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Wed, 3 Jun 2020 10:14:50 +0200 Subject: [PATCH] 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(). --- src/winio.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/winio.c b/src/winio.c index 741b20b6..7f8aff74 100644 --- 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); } }