]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Improve I/O responsivness
[stockfish] / src / search.cpp
index cdd38407c6dff60b23c166e812d20d2da80f1659..9be9cccd52a68ee8c2939539cbc88f12a60eefde 100644 (file)
@@ -2013,7 +2013,7 @@ split_point_start: // At split points actual search starts from here
     int t = current_search_time();
 
     //  Poll for input
-    if (data_available())
+    if (input_available())
     {
         // We are line oriented, don't read single chars
         std::string command;