From e14c1ec09938fded86c568033ec58888dd93f271 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Thu, 23 May 2019 07:45:04 -0400 Subject: Disable buffering entirely --- source/app.d | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/app.d') diff --git a/source/app.d b/source/app.d index 3ae9f54..eb7938f 100644 --- a/source/app.d +++ b/source/app.d @@ -18,6 +18,10 @@ int main(string[] args) { string mergefile; string base_spec; + // disable buffering + stdout.setvbuf(0, _IONBF); + stderr.setvbuf(0, _IONBF); + try { auto optargs = getopt( args, -- cgit