1
0
Fork 0
gkms-localify-dmm-texture/src/console.cpp

24 lines
262 B
C++

#include "stdinclude.hpp"
namespace
{
void console_thread()
{
std::string line;
while (true)
{
std::cin >> line;
std::cout << "\n] " << line << "\n";
}
}
}
void start_console()
{
#ifdef _DEBUG
std::thread(console_thread).detach();
#endif
}