forked from aniani/vim
patch 8.2.4334: command line popup menu not positioned correctly
Problem: Command line popup menu not positioned correctly. Solution: Also use vim_strsize() on the existing text. (Naruhiko Nishino, closes #9727)
This commit is contained in:
@@ -622,7 +622,7 @@ showmatches(expand_T *xp, int wildmenu UNUSED)
|
||||
compl_match_array[i].pum_extra = NULL;
|
||||
compl_match_array[i].pum_kind = NULL;
|
||||
}
|
||||
compl_startcol = ccline->cmdpos + 1;
|
||||
compl_startcol = vim_strsize(ccline->cmdbuff) + 1;
|
||||
columns = vim_strsize(xp->xp_pattern);
|
||||
if (showtail)
|
||||
{
|
||||
|
Reference in New Issue
Block a user