mirror of
https://github.com/p-ranav/indicators.git
synced 2025-12-16 04:18:51 +08:00
fixed multi_block_progress_bar.cpp
This commit is contained in:
@@ -59,7 +59,7 @@ class BlockProgressBar {
|
||||
option::MaxPostfixTextLen>;
|
||||
public:
|
||||
template <typename... Args, typename std::enable_if<details::are_settings_from_tuple<Settings, typename std::decay<Args>::type...>::value, void*>::type = nullptr>
|
||||
BlockProgressBar(Args&&... args) : settings_(
|
||||
explicit BlockProgressBar(Args&&... args) : settings_(
|
||||
details::get<details::ProgressBarOption::foreground_color>(option::ForegroundColor{Color::WHITE}, std::forward<Args>(args)...),
|
||||
details::get<details::ProgressBarOption::bar_width>(option::BarWidth{100}, std::forward<Args>(args)...),
|
||||
details::get<details::ProgressBarOption::start>(option::Start{"["}, std::forward<Args>(args)...),
|
||||
|
||||
Reference in New Issue
Block a user