Skip to content
Permalink
Browse files

Write new line character sequence at end of print()

Fix regression of commit

5e507c9 "Add server side ncurses terminal"

where no line termination character was printed after a
lua print outside of terminal mode.

Fixes #3350.
  • Loading branch information
est31 committed Nov 8, 2015
1 parent 6f95bb1 commit 4ae6e509ffe886492598610a3511179ad87c1f43
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;
}
}

0 comments on commit 4ae6e50

Please sign in to comment.