From 76c5f65085f8c79e3d81d5691687c11f1492484c Mon Sep 17 00:00:00 2001 From: Bob Polis Date: Mon, 13 Dec 2021 10:41:45 +0100 Subject: [PATCH] Adapted to new progress bar api --- progress.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/progress.cpp b/progress.cpp index 1887088..a43ce80 100644 --- a/progress.cpp +++ b/progress.cpp @@ -13,7 +13,7 @@ void show_progress(const sc::term& t) { tm.tv_sec = 0; sc::cursor_hider ch {STDERR_FILENO}; for (int i = 0; i < 1000; ++i) { - t.progress(i, 1000); + t.progress(8, "progress", i, 1000); nanosleep(&tm, nullptr); } std::cerr << std::endl;