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
parent
e81e18dd14
commit
506f617d5b
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue