mirror of
https://github.com/minetest/minetest.git
synced 2024-11-23 16:13:46 +01:00
Write new line character sequence at end of print()
Fix regression of commit 5e507c9829942c434a6f1ae7a4f3a488c7e50bef "Add server side ncurses terminal" where no line termination character was printed after a lua print outside of terminal mode. Fixes #3350.
This commit is contained in:
parent
6f95bb1ef3
commit
4ae6e509ff
@ -1473,7 +1473,7 @@ void Server::printToConsoleOnly(const std::string &text)
|
|||||||
m_admin_chat->outgoing_queue.push_back(
|
m_admin_chat->outgoing_queue.push_back(
|
||||||
new ChatEventChat("", utf8_to_wide(text)));
|
new ChatEventChat("", utf8_to_wide(text)));
|
||||||
} else {
|
} else {
|
||||||
std::cout << text;
|
std::cout << text << std::endl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user