diff --git a/src/insexpand.c b/src/insexpand.c index 2627e4bc3e..eb9420a198 100644 --- a/src/insexpand.c +++ b/src/insexpand.c @@ -1828,8 +1828,9 @@ ins_compl_show_pum(void) if (!pum_wanted() || !pum_enough_matches()) return; - // Update the screen later, before drawing the popup menu over it. - pum_call_update_screen(); + // Avoid redrawing the screen under a pum that stays in place. + if (!pum_redraw_in_same_position()) + pum_call_update_screen(); if (compl_match_array == NULL) // Need to build the popup menu list. diff --git a/src/version.c b/src/version.c index 861b8e4428..4c2be4b468 100644 --- a/src/version.c +++ b/src/version.c @@ -734,6 +734,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 366, /**/ 365, /**/