From 0a18d8912ba88d93e81d06d09eb1735067f38a3e Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <bensberg@justemail.net>
Date: Wed, 12 Oct 2016 13:56:48 +0200
Subject: [PATCH] screen: defeat a VTE bug by doing an extra cursor move and
 update

This fixes https://savannah.gnu.org/bugs/?49106.
---
 src/winio.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/winio.c b/src/winio.c
index eccf41c1..1573c61b 100644
--- a/src/winio.c
+++ b/src/winio.c
@@ -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);
 }
-- 
GitLab