Merge "add a basic libmain test for the progress bar rendering" into main

This commit is contained in:
Qyriad
2024-06-22 02:04:14 +00:00
committed by Gerrit Code Review
3 changed files with 66 additions and 4 deletions
+1 -4
View File
@@ -13,9 +13,8 @@ constexpr const auto A_LONG_TIME = std::chrono::duration_cast<std::chrono::milli
100 * 365 * std::chrono::seconds(86400)
);
class ProgressBar : public Logger
struct ProgressBar : public Logger
{
private:
struct ActInfo
{
using TimePoint = std::chrono::time_point<std::chrono::steady_clock>;
@@ -66,8 +65,6 @@ private:
bool printBuildLogs = false;
bool isTTY;
public:
ProgressBar(bool isTTY)
: isTTY(isTTY)
{