mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 11:58:17 +00:00
fix(api, lua): make blank lines in a message work properly (#24244)
This commit is contained in:
@@ -1687,6 +1687,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