From 39705c60df9f90447c440e8a8124bd478e679670 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Thu, 26 Nov 2020 18:53:23 +0100 Subject: [PATCH] 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. --- src/prompt.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/prompt.c b/src/prompt.c index 360603f3..6a2f52b0 100644 --- a/src/prompt.c +++ b/src/prompt.c @@ -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));