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().
master
Benno Schulenberg 2020-06-03 10:14:50 +02:00
parent e81e18dd14
commit 506f617d5b
1 changed files with 0 additions and 3 deletions

View File

@ -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);
}
}