From cdff99339e108756e02bafd942c9e81ec8c6bba8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Sat, 14 Jan 2023 17:31:04 +0800 Subject: [PATCH] Windows: fix the last issue that breaks Win10- --- src/common/init.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/common/init.c b/src/common/init.c index 97184f345..05827dd31 100644 --- a/src/common/init.c +++ b/src/common/init.c @@ -400,6 +400,10 @@ static void resetConsole() if(ffHideCursor) fputs("\033[?25h", stdout); + + #if defined(_WIN32) && defined(FF_ENABLE_BUFFER) + fflush(stdout); + #endif } #ifdef _WIN32