mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-21 15:41:35 +02:00
Prevent our colour codes from making it to stdout
This commit is contained in:
@@ -1164,7 +1164,7 @@ void GameModel::Log(String message, bool printToFile)
|
||||
consoleLog.pop_back();
|
||||
notifyLogChanged(message);
|
||||
if (printToFile)
|
||||
std::cout << message.ToUtf8() << std::endl;
|
||||
std::cout << format::CleanString(message, false, true, false).ToUtf8() << std::endl;
|
||||
}
|
||||
|
||||
std::deque<String> GameModel::GetLog()
|
||||
|
Reference in New Issue
Block a user