On Saturday, 19 September 2020 at 13:23:29 UTC, Anonymouse wrote:
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?

http://dpldocs.info/experimental-docs/std.stdio.File.setvbuf.1.html

Reply via email to