Add fflush(stdout) after writing to stdout with printf
fixes issues with backlog when server is running through a pipe
This commit is contained in:
parent
3d76bc0108
commit
41609ef69a
@ -266,6 +266,7 @@ void Log::writeLine(const char *line, int level)
|
||||
CIrrDeviceiOS::debugPrint(line);
|
||||
#else
|
||||
printf("%s", line);
|
||||
fflush(stdout);
|
||||
#endif
|
||||
}
|
||||
resetTerminalColor(); // this prints a \n
|
||||
|
Loading…
Reference in New Issue
Block a user