mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 15:21:47 +00:00
fix(api, lua): make blank lines in a message work properly
(cherry picked from commit e6bb22e691
)
This commit is contained in:

committed by
github-actions[bot]
![github-actions[bot]](/assets/img/avatar_default.png)
parent
041bc87333
commit
617c6014ea
@@ -1686,6 +1686,7 @@ static void write_msg(String message, bool to_err, bool writeln)
|
||||
if (c == NL) { \
|
||||
kv_push(line_buf, NUL); \
|
||||
msg(line_buf.items); \
|
||||
msg_didout = true; \
|
||||
kv_drop(line_buf, kv_size(line_buf)); \
|
||||
kv_resize(line_buf, LINE_BUFFER_MIN_SIZE); \
|
||||
} else { \
|
||||
|
Reference in New Issue
Block a user