mirror of
https://github.com/neovim/neovim.git
synced 2026-07-21 16:41:38 +00:00
fix(messages): unwanted ext_messages newlines for confirm() #38045
Problem: Newlines emitted with ext_messages intended to position
the message/prompt on the message grid.
Solution: Don't emit these newlines with ext_messages, followup to 4260f73e.
This commit is contained in:
@@ -245,11 +245,9 @@ describe('cmdline2', function()
|
||||
screen:try_resize(screen._width + 1, screen._height)
|
||||
screen:expect([[
|
||||
|
|
||||
{1:~ }|*8
|
||||
{1:~ }|*10
|
||||
{3: }|
|
||||
|
|
||||
{6:Ok?} |
|
||||
|
|
||||
{6:[O]k: }^ |
|
||||
]])
|
||||
-- And resizing the next event loop iteration also works.
|
||||
@@ -257,11 +255,9 @@ describe('cmdline2', function()
|
||||
screen:try_resize(screen._width, screen._height + 1)
|
||||
screen:expect([[
|
||||
|
|
||||
{1:~ }|*9
|
||||
{1:~ }|*11
|
||||
{3: }|
|
||||
|
|
||||
{6:Ok?} |
|
||||
|
|
||||
{6:[O]k: }^ |
|
||||
]])
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user