diff options
author | est31 <MTest31@outlook.com> | 2015-11-08 22:23:16 +0100 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2015-11-08 22:56:56 +0100 |
commit | 4ae6e509ffe886492598610a3511179ad87c1f43 (patch) | |
tree | 94d9cc26a5973cbfe30173da0fb2cb8ab692a2c0 | |
parent | 6f95bb1ef371c5e838f0df4d6e3edd9d6b132bf9 (diff) | |
download | minetest-4ae6e509ffe886492598610a3511179ad87c1f43.tar.gz minetest-4ae6e509ffe886492598610a3511179ad87c1f43.tar.bz2 minetest-4ae6e509ffe886492598610a3511179ad87c1f43.zip |
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.
-rw-r--r-- | src/server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server.cpp b/src/server.cpp index 6cb79c875..9315fcf80 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -1473,7 +1473,7 @@ void Server::printToConsoleOnly(const std::string &text) m_admin_chat->outgoing_queue.push_back( new ChatEventChat("", utf8_to_wide(text))); } else { - std::cout << text; + std::cout << text << std::endl; } } |