mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
disable console colors as Xcode doesn't render them
This commit is contained in:
parent
b8fa692bda
commit
98d507d0a5
@ -165,6 +165,7 @@ LONG WINAPI onUnhandledException(EXCEPTION_POINTERS* exception)
|
||||
|
||||
void CConsoleHandler::setColor(EConsoleTextColor::EConsoleTextColor color)
|
||||
{
|
||||
#ifndef VCMI_IOS
|
||||
TColor colorCode;
|
||||
switch(color)
|
||||
{
|
||||
@ -204,6 +205,7 @@ void CConsoleHandler::setColor(EConsoleTextColor::EConsoleTextColor color)
|
||||
#else
|
||||
std::cout << colorCode;
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
int CConsoleHandler::run()
|
||||
|
Loading…
Reference in New Issue
Block a user