mirror of
https://github.com/neovim/neovim.git
synced 2025-10-09 19:36:40 +00:00
fix(cmdline): don't treat c_CTRL-D as wildmenu (#36067)
Remove WM_LIST, which was previously added in #7110, but now statusline and messages no longer interfere with each other thanks to the message grid, etc., and terminal refreshing no longer calls update_screen() directly since #9883. Tests from #7110 and #10107 still pass.
This commit is contained in:
@@ -424,6 +424,36 @@ describe("'wildmenu'", function()
|
||||
]])
|
||||
end)
|
||||
|
||||
it("<C-D> doesn't make statuslines disappear with 'nowildmenu' #36053", function()
|
||||
screen:try_resize(60, 10)
|
||||
command('set laststatus=2 nowildmenu')
|
||||
feed(':sign <C-D>')
|
||||
screen:expect([[
|
||||
|
|
||||
{1:~ }|*5
|
||||
{3: }|
|
||||
:sign |
|
||||
define jump list place undefine unplace |
|
||||
:sign ^ |
|
||||
]])
|
||||
feed('<Esc>')
|
||||
screen:expect([[
|
||||
^ |
|
||||
{1:~ }|*7
|
||||
{3:[No Name] }|
|
||||
|
|
||||
]])
|
||||
command('mode')
|
||||
screen:expect_unchanged()
|
||||
feed('ifoobar<Esc>')
|
||||
screen:expect([[
|
||||
fooba^r |
|
||||
{1:~ }|*7
|
||||
{3:[No Name] [+] }|
|
||||
|
|
||||
]])
|
||||
end)
|
||||
|
||||
it('works with c_CTRL_Z standard mapping', function()
|
||||
screen:add_extra_attr_ids {
|
||||
[100] = { background = Screen.colors.Yellow1, foreground = Screen.colors.Black },
|
||||
|
Reference in New Issue
Block a user