Cannot call @system funciton (stdout)

Anonymouse zorael at gmail.com
Sat Sep 19 13:23:29 UTC 2020


On Tuesday, 18 August 2020 at 06:25:31 UTC, Kagamin wrote:
> 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.

How do I do this?


More information about the Digitalmars-d-learn mailing list