diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-26 16:58:51 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-26 16:58:51 +0100 |
commit | 5416232707349d5f24294178f47544f2024b73ed (patch) | |
tree | ffd1dfb8b7cef3e448a4b6d08644fce7d45931ab /src/drawscreen.c | |
parent | 074fbd413172edc6f4936296a28bf8fd5cdfa38b (diff) | |
download | vim-git-5416232707349d5f24294178f47544f2024b73ed.tar.gz |
patch 9.0.0279: the tiny version has the popup menu but not 'wildmenu'v9.0.0279
Problem: The tiny version has the popup menu but not 'wildmenu'.
Solution: Graduate the wildmenu feature.
Diffstat (limited to 'src/drawscreen.c')
-rw-r--r-- | src/drawscreen.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/drawscreen.c b/src/drawscreen.c index ff0f2eaeb..de091e81d 100644 --- a/src/drawscreen.c +++ b/src/drawscreen.c @@ -3084,19 +3084,16 @@ redraw_after_callback(int call_update_screen, int do_message) } else if (State & MODE_CMDLINE) { -#ifdef FEAT_WILDMENU if (pum_visible()) cmdline_pum_display(); -#endif + // Don't redraw when in prompt_for_number(). if (cmdline_row > 0) { // Redrawing only works when the screen didn't scroll. Don't clear // wildmenu entries. if (msg_scrolled == 0 -#ifdef FEAT_WILDMENU && wild_menu_showing == 0 -#endif && call_update_screen) update_screen(0); @@ -3241,12 +3238,10 @@ redraw_buf_and_status_later(buf_T *buf, int type) { win_T *wp; -#ifdef FEAT_WILDMENU if (wild_menu_showing != 0) // Don't redraw while the command line completion is displayed, it // would disappear. return; -#endif FOR_ALL_WINDOWS(wp) { if (wp->w_buffer == buf) @@ -3305,7 +3300,6 @@ redraw_statuslines(void) draw_tabline(); } -#if defined(FEAT_WILDMENU) || defined(PROTO) /* * Redraw all status lines at the bottom of frame "frp". */ @@ -3327,7 +3321,6 @@ win_redraw_last_status(frame_T *frp) win_redraw_last_status(frp); } } -#endif /* * Changed something in the current window, at buffer line "lnum", that |