GDC - no flush to stdio?

DLearner bmqazwsx123 at gmail.com
Mon Apr 1 11:37:35 PDT 2013


I was trying to use writef("Escape string" ~ "Display string") to 
simulate a full-screen console.  But writef doesn't seem to flush 
until a newline entered (which disturbs cursor position).

I would have expected a 'flush()' function, but 'flush()' itself 
produces an error (does not exist), and 'fflush()' seems to be 
for file use, not for writing to a screen (stdio).

Please, how do I force a flush to stdio?


More information about the Digitalmars-d-learn mailing list