diff options
author | Yegappan Lakshmanan <yegappan@yahoo.com> | 2022-02-10 19:52:10 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-02-10 19:52:10 +0000 |
commit | 560dff49c0095111fc96b4b8dd7f4d269aba9473 (patch) | |
tree | cd986c6411c522080f4e4d360bcfcfc99841162c /src/popupmenu.c | |
parent | 74a0a5b26d0180f3ea89e9495dff6a26f0df23cb (diff) | |
download | vim-git-560dff49c0095111fc96b4b8dd7f4d269aba9473.tar.gz |
patch 8.2.4339: CTRL-A does not work properly with the cmdline popup menuv8.2.4339
Problem: CTRL-A does not work properly with the cmdline popup menu.
Solution: Fix issues with CTRL-A. Add more tests for the cmdline popup
menu. Remove TermWait() before VeriryScreenDump(). Refactor the
cmdline popup code. (Yegappan Lakshmanan, closes #9735)
Diffstat (limited to 'src/popupmenu.c')
-rw-r--r-- | src/popupmenu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/popupmenu.c b/src/popupmenu.c index cf2f2eff9..18f248033 100644 --- a/src/popupmenu.c +++ b/src/popupmenu.c @@ -117,6 +117,7 @@ pum_display( // can decide when to reposition the popup menu. pum_window = curwin; if (State == CMDLINE) + // cmdline completion popup menu pum_win_row = cmdline_row; else pum_win_row = curwin->w_wrow + W_WINROW(curwin); @@ -220,6 +221,7 @@ pum_display( // Calculate column #ifdef FEAT_WILDMENU if (State == CMDLINE) + // cmdline completion popup menu cursor_col = cmdline_compl_startcol(); else #endif |