diff --git a/src/prompt.c b/src/prompt.c index 6f26a171..b1786263 100644 --- a/src/prompt.c +++ b/src/prompt.c @@ -407,6 +407,12 @@ void draw_the_promptbar(void) wattroff(bottomwin, interface_color_pair[PROMPT_BAR]); + /* Work around a cursor-misplacement bug -- https://sv.gnu.org/bugs/?59808. */ + if (ISSET(NO_HELP)) { + wmove(bottomwin, 0, 0); + wrefresh(bottomwin); + } + /* Place the cursor at the right spot. */ column = base + wideness(answer, typing_x); wmove(bottomwin, 0, column - get_statusbar_page_start(base, column));