Cannot call @system funciton (stdout)

Kagamin spam at here.lot
Tue Aug 18 06:25:31 UTC 2020


On Sunday, 16 August 2020 at 18:13:07 UTC, Anonymouse wrote:
> Just as a drive-by comment, the main stdio thing I came across 
> that I couldn't do from within @safe was stdout.flush(), which 
> I need to call manually for Cygwin terminals and some terminals 
> embedded in editors (vscode). If someone knows why, please tell 
> me.

Cygwin terminals are not recognized as terminals, you should set 
line buffered mode, then it will flush every line.


More information about the Digitalmars-d-learn mailing list