mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-22 07:53:00 +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();
|
consoleLog.pop_back();
|
||||||
notifyLogChanged(message);
|
notifyLogChanged(message);
|
||||||
if (printToFile)
|
if (printToFile)
|
||||||
std::cout << message.ToUtf8() << std::endl;
|
std::cout << format::CleanString(message, false, true, false).ToUtf8() << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::deque<String> GameModel::GetLog()
|
std::deque<String> GameModel::GetLog()
|
||||||
|
Reference in New Issue
Block a user