mirror of
https://github.com/neovim/neovim.git
synced 2026-11-02 20:30:40 -06:00
api: vim_err_write: don't wait for return in the middle of a message
This commit is contained in:
1 parent
22ea2900d0
commit
8c2481806d
1 file changed
+3
@@ -629,6 +629,7 @@ static void write_msg(String message, bool to_err)
|
||||
\
|
||||
line_buf[pos++] = message.data[i];
|
||||
|
||||
++no_wait_return;
|
||||
for (uint32_t i = 0; i < message.size; i++) {
|
||||
if (to_err) {
|
||||
PUSH_CHAR(i, err_pos, err_line_buf, emsg);
|
||||
@@ -636,4 +637,6 @@ static void write_msg(String message, bool to_err)
|
||||
PUSH_CHAR(i, out_pos, out_line_buf, msg);
|
||||
}
|
||||
}
|
||||
--no_wait_return;
|
||||
msg_end();
|
||||
}
|
||||
Reference in new issue
Block a user