mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-25 06:09:38 +03:00
display: add a wnoutrefresh() call for NetBSD, to force a cursor update
With NetBSD curses, when only the cursor is moved (without writing any text), then a call of wnoutrefresh() is needed to make doupdate() move the cursor. Ncurses does not need this. This addresses https://savannah.gnu.org/patch/?10438.
This commit is contained in:
parent
dd009e0bc7
commit
fdd92af3ac
@ -2534,6 +2534,10 @@ void place_the_cursor(void)
|
||||
statusline(ALERT, "Misplaced cursor -- please report a bug");
|
||||
#endif
|
||||
|
||||
#ifdef _CURSES_H_
|
||||
wnoutrefresh(midwin); /* Only needed for NetBSD curses. */
|
||||
#endif
|
||||
|
||||
openfile->current_y = row;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user