diff options
Diffstat (limited to 'src/term.c')
-rw-r--r-- | src/term.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/term.c b/src/term.c index 2dbe555734..e5f2c9a6d9 100644 --- a/src/term.c +++ b/src/term.c @@ -3140,7 +3140,15 @@ set_shellsize(width, height, mustset) else { update_topline(); - update_screen(NOT_VALID); +#if defined(FEAT_INS_EXPAND) + if (pum_visible()) + { + redraw_later(NOT_VALID); + ins_compl_show_pum(); /* This includes the redraw. */ + } + else +#endif + update_screen(NOT_VALID); if (redrawing()) setcursor(); } |