1
1

build: include a workaround only for versions of ncurses that need it

The cursor-misplacement bug has been fixed in ncurses-6.2-20210220:

  https://lists.gnu.org/archive/html/bug-ncurses/2021-02/msg00010.html

See also https://savannah.gnu.org/bugs/?59808.
Этот коммит содержится в:
Benno Schulenberg 2021-02-21 11:55:29 +01:00
родитель b9328d0eac
Коммит 73067e0e16

Просмотреть файл

@ -408,11 +408,13 @@ void draw_the_promptbar(void)
wattroff(bottomwin, interface_color_pair[PROMPT_BAR]);
#if defined(NCURSES_VERSION_PATCH) && (NCURSES_VERSION_PATCH < 20210220)
/* Work around a cursor-misplacement bug -- https://sv.gnu.org/bugs/?59808. */
if (ISSET(NO_HELP)) {
wmove(bottomwin, 0, 0);
wrefresh(bottomwin);
}
#endif
/* Place the cursor at the right spot. */
wmove(bottomwin, 0, column - the_page);