screen: defeat a VTE bug by doing an extra cursor move and update

This fixes https://savannah.gnu.org/bugs/?49106.
master
Benno Schulenberg 2016-10-12 13:56:48 +02:00
parent 815b326864
commit 0a18d8912b
1 changed files with 4 additions and 0 deletions

View File

@ -2180,7 +2180,11 @@ void bottombars(int menu)
i++;
}
/* Defeat a VTE bug by moving the cursor and forcing a screen update. */
wmove(bottomwin, 0, 0);
wnoutrefresh(bottomwin);
doupdate();
reset_cursor();
wnoutrefresh(edit);
}