diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-09-29 22:42:33 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-09-29 22:42:33 +0200 |
commit | a5e6621aadadf78c7b344e93a4b328788076f14c (patch) | |
tree | 160e3f05fcea43ae0b38b307045a942aff9c2cd7 /src/term.c | |
parent | 816968defc8ae79eb7e2319e991e74661be8d750 (diff) | |
download | vim-git-a5e6621aadadf78c7b344e93a4b328788076f14c.tar.gz |
patch 8.0.1161: popup menu drawing problem when resizing terminalv8.0.1161
Problem: Popup menu drawing problem when resizing terminal.
Solution: Redraw after resizing also when a popup menu is visible. (Ozaki
Kiichi, closes #2110)
Diffstat (limited to 'src/term.c')
-rw-r--r-- | src/term.c | 5 |
1 files changed, 2 insertions, 3 deletions
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(); } |