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;