flush stdout after writing % complete instead of waiting for line buffering
git-svn-id: svn://anubis/fart/trunk@266 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
parent
781b46dcd4
commit
7a3ed0213b
@ -273,6 +273,7 @@ int main(int argc, char * argv[])
|
||||
{
|
||||
double pct = 100.0 * pixel_num / (double) total_pixels;
|
||||
printf("\e[8D%2.1f%%", pct);
|
||||
fflush(stdout);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user