mirror of
https://github.com/neovim/neovim.git
synced 2025-10-16 23:06:14 +00:00
getcmdline_prompt: Temporarily disable msg_silent so prompt is displayed
vim-patch:7.4.1636 Closes #7378
This commit is contained in:
@@ -239,6 +239,25 @@ describe('input()', function()
|
||||
{RBP1:(}{RBP2:()}{RBP1:)}^ |
|
||||
]])
|
||||
end)
|
||||
it('is not hidden by :silent', function()
|
||||
feed([[:silent call input('Foo: ')<CR>]])
|
||||
screen:expect([[
|
||||
{EOB:~ }|
|
||||
{EOB:~ }|
|
||||
{EOB:~ }|
|
||||
Foo: ^ |
|
||||
|
|
||||
]])
|
||||
feed('Bar')
|
||||
screen:expect([[
|
||||
{EOB:~ }|
|
||||
{EOB:~ }|
|
||||
{EOB:~ }|
|
||||
Foo: Bar^ |
|
||||
|
|
||||
]])
|
||||
feed('<CR>')
|
||||
end)
|
||||
end)
|
||||
describe('inputdialog()', function()
|
||||
it('works with multiline prompts', function()
|
||||
|
Reference in New Issue
Block a user