lots of log message and fixed bad_file_descriptor issue
This commit is contained in:
@@ -301,11 +301,11 @@ void print_special(std::string str)
|
||||
{
|
||||
c = str[i];
|
||||
if (c == '\r')
|
||||
std::cout << YELLOW << "\\r" << RESET;
|
||||
std::cerr << YELLOW << "\\r" << RESET;
|
||||
else if (c == '\n')
|
||||
std::cout << YELLOW << "\\n" << RESET << "\n";
|
||||
std::cerr << YELLOW << "\\n" << RESET << "\n";
|
||||
else
|
||||
std::cout << c;
|
||||
std::cerr << c;
|
||||
std::fflush(stdout);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user