stdout - autoflushing

Adam D. Ruppe destructionator at gmail.com
Fri Dec 6 13:13:57 PST 2013


On Friday, 6 December 2013 at 20:39:22 UTC, Dejan Lekic wrote:
> Benji wrote:
>> Is there any way to prevent this?
>
> I doubt. Your IDE is buffering application's streams.

You know though, this happens often enough that maybe we should 
just throw in a stdout.flush to the global readln function. I 
wouldn't put it on File.readln since that's likely wrong anyway, 
but on the global one it is probably what people want/expect 
anyway.


More information about the Digitalmars-d-learn mailing list