From 4ada9e3f774a01af79a4ffc918397d7c0c43d7c9 Mon Sep 17 00:00:00 2001 From: Pranav Date: Mon, 24 Feb 2020 16:36:39 +0530 Subject: [PATCH] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8049454..0097ca8 100644 --- a/README.md +++ b/README.md @@ -356,7 +356,9 @@ int main() { # DynamicProgress -`DynamicProgress` is a container class, similar to `MultiProgress`, for managing multiple progress bars. As the name suggests, with `DynamicProgress`, you can dynamically add new progress bars. Simply call `bars.push_back`. +`DynamicProgress` is a container class, similar to `MultiProgress`, for managing multiple progress bars. As the name suggests, with `DynamicProgress`, you can dynamically add new progress bars. + +To add new progress bars, call `bars.push_back(new_bar)`. This call will return the index of the appended bar. You can then refer to this bar with the indexing operator, e.g., `bars[4].set_progress(55)`. Use this class if you don't know the number of progress bars at compile time.