weeding: remove a workaround for VTE that is not needed

It was only ever needed when the user lied about the size
of the terminal, which should be considered a user error.

It was a workaround for https://savannah.gnu.org/bugs/?48852.
This commit is contained in:
Benno Schulenberg 2020-11-26 18:53:23 +01:00
parent 9da23799ff
commit 39705c60df

View File

@ -407,10 +407,6 @@ void draw_the_promptbar(void)
wattroff(bottomwin, interface_color_pair[TITLE_BAR]);
/* Work around a cursor-misplacement bug in VTEs. */
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));