aboutsummaryrefslogtreecommitdiff
path: root/source/app.d
diff options
context:
space:
mode:
Diffstat (limited to 'source/app.d')
-rw-r--r--source/app.d4
1 files changed, 4 insertions, 0 deletions
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,