Flush stderr after logging progress

This commit is contained in:
Erica Fischer
2022-12-30 12:38:37 -08:00
parent eef29084ec
commit fc8007a2ab
5 changed files with 11 additions and 0 deletions
+1
View File
@@ -588,6 +588,7 @@ void handle_tasks(std::map<zxy, std::vector<std::string>> &tasks, std::vector<st
if (ai == tasks.begin()) {
if (!quiet) {
fprintf(stderr, "%lld/%lld/%lld \r", ai->first.z, ai->first.x, ai->first.y);
fflush(stderr);
}
}
}