From 7eb204caaaa22cb6df3faf5465f0bb1bb7032c16 Mon Sep 17 00:00:00 2001 From: ApfelTeeSaft <91074565+ApfelTeeSaft@users.noreply.github.com> Date: Wed, 28 May 2025 15:11:38 +0200 Subject: [PATCH] Update CommandLineParser.cpp --- MakeAppxPP/CommandLineParser.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/MakeAppxPP/CommandLineParser.cpp b/MakeAppxPP/CommandLineParser.cpp index c69728f..fcadd1f 100644 --- a/MakeAppxPP/CommandLineParser.cpp +++ b/MakeAppxPP/CommandLineParser.cpp @@ -702,7 +702,6 @@ namespace MakeAppxPP { const int barWidth = 20; int filledWidth = (int)(filePercent / 100.0 * barWidth); - // Build the entire output string first to avoid multiple stream operations std::wstringstream ss; ss << L"\r["; @@ -729,15 +728,13 @@ namespace MakeAppxPP { ss << L" - " << displayFile; } - ss << L" "; // Padding to clear previous text + ss << L" "; - // Output the entire string at once std::wcout << ss.str(); if (currentComplete) { std::wcout << std::endl; - // Show finalization message when we reach 100% if (!finalizationMessageShown) { std::wcout << L"Processing with zlib, this might take a while..." << std::endl; finalizationMessageShown = true;