Closed CatTail closed 9 years ago
Nothing will be printed until the end of program, this confuse me that I doubt this process is being block. After the end of program a lot of dot being printed, I realize that the content just not printed. I think print it immediately could illustrate that idle will be called in every loop.
Yeah, printing to stderr
would fix that in a better way IMO.
stdout
gets buffered.
Closing for now, open to a PR that changes printf(...
to fprintf(stderr, ...
Could you explain a bit more what this improves? My intent was to print on one line. I believe a better solution would be to use
fprintf(stderr, ".")
instead of making the terminal explode with a bunch of lines ;)