mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 03:48:18 +00:00
fix(api, lua): make blank lines in a message work properly (#24244)
This commit is contained in:
@@ -954,6 +954,7 @@ static void nlua_print_event(void **argv)
|
||||
break;
|
||||
}
|
||||
msg(str + start);
|
||||
msg_didout = true; // Make blank lines work properly
|
||||
}
|
||||
if (len && str[len - 1] == NUL) { // Last was newline
|
||||
msg("");
|
||||
|
Reference in New Issue
Block a user