On Monday, 1 April 2013 at 18:36:52 UTC, Iain Buclaw wrote:
You mean stdout.flush() ?I was using writef("escape string" ~ "Display string") to try to simulate
a console, but noticed that the writes are only flushed when a newline is
present.
Is there a 'flush' function that works with stdio?
'flush()' seems unkown to the compiler, and 'fflush()' seems to be for
files, not for writing to the screen.
Tried your idea, error message was:
"No property 'flush' for type '_iobuf'