From a5e6621aadadf78c7b344e93a4b328788076f14c Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 29 Sep 2017 22:42:33 +0200 Subject: patch 8.0.1161: popup menu drawing problem when resizing terminal Problem: Popup menu drawing problem when resizing terminal. Solution: Redraw after resizing also when a popup menu is visible. (Ozaki Kiichi, closes #2110) --- src/term.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/term.c') diff --git a/src/term.c b/src/term.c index 5714c8929..07292bca2 100644 --- a/src/term.c +++ b/src/term.c @@ -3271,11 +3271,10 @@ set_shellsize(int width, int height, int mustset) if (pum_visible()) { redraw_later(NOT_VALID); - ins_compl_show_pum(); /* This includes the redraw. */ + ins_compl_show_pum(); } - else #endif - update_screen(NOT_VALID); + update_screen(NOT_VALID); if (redrawing()) setcursor(); } -- cgit v1.2.1