Mercurial > vim
diff src/popupmenu.c @ 27626:95d6e3c9aa1e v8.2.4339
patch 8.2.4339: CTRL-A does not work properly with the cmdline popup menu
Commit: https://github.com/vim/vim/commit/560dff49c0095111fc96b4b8dd7f4d269aba9473
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Thu Feb 10 19:52:10 2022 +0000
patch 8.2.4339: CTRL-A does not work properly with the cmdline popup menu
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 10 Feb 2022 21:00:04 +0100 |
parents | 4eb2bf8b2f27 |
children | 0f1a0bef2c02 |
line wrap: on
line diff
--- 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