mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
vim-patch:8.2.4341: command line not redrawn when finishing popup menu (#21792)
Problem: Command line not redrawn when finishing popup menu and the screen
has scrolled up.
Solution: Redraw the command line after updating the screen. (closes vim/vim#9722)
414acd342f
Code change is N/A as Nvim doesn't call update_screen() here.
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
@@ -2481,6 +2481,13 @@ func Test_wildmenu_pum()
|
||||
call term_sendkeys(buf, ":sign \<Tab>\<C-A>\<S-Tab>")
|
||||
call VerifyScreenDump(buf, 'Test_wildmenu_pum_37', {})
|
||||
|
||||
" After removing the pum the command line is redrawn
|
||||
call term_sendkeys(buf, ":edit foo\<CR>")
|
||||
call term_sendkeys(buf, ":edit bar\<CR>")
|
||||
call term_sendkeys(buf, ":ls\<CR>")
|
||||
call term_sendkeys(buf, ":com\<Tab> ")
|
||||
call VerifyScreenDump(buf, 'Test_wildmenu_pum_38', {})
|
||||
|
||||
call term_sendkeys(buf, "\<C-U>\<CR>")
|
||||
call StopVimInTerminal(buf)
|
||||
call delete('Xtest')
|
||||
|
@@ -2486,7 +2486,7 @@ describe('builtin popupmenu', function()
|
||||
]])
|
||||
end)
|
||||
|
||||
it('wildoptions=pum with scrolled messages ', function()
|
||||
it('wildoptions=pum with scrolled messages', function()
|
||||
screen:try_resize(40,10)
|
||||
command('set wildmenu')
|
||||
command('set wildoptions=pum')
|
||||
|
Reference in New Issue
Block a user