Force line breaks in stdout logging

This commit is contained in:
momo5502
2024-11-09 17:51:30 +01:00
parent 8f5600bc7c
commit 9eb49c981d

View File

@@ -1979,6 +1979,11 @@ namespace
io_status_block.write(block);
}
if (!temp_buffer.ends_with("\n"))
{
temp_buffer.push_back('\n');
}
c.win_emu.logger.info("%.*s", static_cast<int>(temp_buffer.size()), temp_buffer.data());
return STATUS_SUCCESS;