]> granicus.if.org Git - vim/commitdiff
patch 8.1.2277: terminal window is not updated when info popup changes v8.1.2277
authorBram Moolenaar <Bram@vim.org>
Sat, 9 Nov 2019 19:00:35 +0000 (20:00 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 9 Nov 2019 19:00:35 +0000 (20:00 +0100)
Problem:    Terminal window is not updated when info popup changes.
Solution:   Redraw windows when re-using an info popup. (closes #5192)

src/ex_cmds.c
src/version.c

index db5fecd5b70b7116fe5845521b1feb18b629072f..c15bbc5f4cfc14f0b5079f2179c6a594adba876c 100644 (file)
@@ -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
index fc6808b9cfac7d3731f5f896b596c79e08cde6a8..bb783f86dbd14ce14389f48fbb0513e103dc776a 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2277,
 /**/
     2276,
 /**/