mirror of
https://github.com/p-ranav/indicators.git
synced 2025-12-16 04:18:51 +08:00
Setting multiprogress mode in MultiProgress constructor
This commit is contained in:
@@ -42,6 +42,9 @@ public:
|
||||
>
|
||||
explicit MultiProgress(Indicators&... bars) {
|
||||
_bars = {bars...};
|
||||
for (auto& bar: _bars) {
|
||||
bar.get()._multi_progress_mode = true;
|
||||
}
|
||||
}
|
||||
|
||||
template <size_t index>
|
||||
|
||||
Reference in New Issue
Block a user