changeset 18566:bb256b1fabf7 v8.1.2277

patch 8.1.2277: terminal window is not updated when info popup changes Commit: https://github.com/vim/vim/commit/b73e439606b55d66d9e81da1f9cae729af37cf04 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 9 20:00:35 2019 +0100 patch 8.1.2277: terminal window is not updated when info popup changes Problem: Terminal window is not updated when info popup changes. Solution: Redraw windows when re-using an info popup. (closes https://github.com/vim/vim/issues/5192)
author Bram Moolenaar <Bram@vim.org>
date Sat, 09 Nov 2019 20:15:04 +0100
parents fca83ebd451c
children ed3a8eb92f76
files src/ex_cmds.c src/version.c
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -4971,6 +4971,9 @@ prepare_tagpreview(
 		    popup_show(wp);
 		else
 		    popup_hide(wp);
+		// When the popup moves or resizes it may reveal part of
+		// another window.  TODO: can this be done more efficiently?
+		redraw_all_later(NOT_VALID);
 	    }
 	}
 	else
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    2277,
+/**/
     2276,
 /**/
     2275,