diff --git a/src/main.cpp b/src/main.cpp index 0c94ed89..1b2fdf9d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -43,6 +43,11 @@ int main(int argc, char* argv[]) { Eval::init(); TT.set_size(Options["Hash"]); + // Don't sync with C library I/O buffers, faster but now using printf() + // or scanf() could yield to issues because buffers are independent. + cout.sync_with_stdio(false); + cin.sync_with_stdio(false); + cout << engine_info() << endl; if (argc == 1)