fix(messages): :map output with ext_messages (#26126)

This commit is contained in:
Bara C. Tudor
2023-11-22 03:50:28 +02:00
committed by GitHub
parent 7663584708
commit 91ef26dece
2 changed files with 16 additions and 1 deletions

View File

@@ -834,6 +834,19 @@ stack traceback:
end}
end)
it('supports multiline messages for :map', function()
command('mapclear')
command('nmap Y y$')
command('nmap Q @@')
command('nnoremap j k')
feed(':map<cr>')
screen:expect{messages={{
content = {{ "\nn Q @@\nn Y y$\nn j " }, { "*", 5 }, { " k" }},
kind = ''
}}}
end)
it('wildmode=list', function()
screen:try_resize(25, 7)
screen:set_option('ext_popupmenu', false)