Skip to content

Commit

Permalink
fix(confirm): keep newlines in confirm message. Fixes #422
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Apr 16, 2023
1 parent e76ae13 commit 051111f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/noice/text/format/formatters.lua
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ function M.confirm(message, opts, input)
for l, line in ipairs(input._lines) do
if l ~= #input._lines then
message:append(line)
message:newline()
end
end
message:trim_empty_lines()
Expand Down

0 comments on commit 051111f

Please sign in to comment.