diff options
Diffstat (limited to 'src/commands/toggle_pause.cpp')
-rw-r--r-- | src/commands/toggle_pause.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/commands/toggle_pause.cpp b/src/commands/toggle_pause.cpp index d978bc6..434330e 100644 --- a/src/commands/toggle_pause.cpp +++ b/src/commands/toggle_pause.cpp @@ -5,7 +5,8 @@ TogglePauseCommand::TogglePauseCommand( std::shared_ptr<IGenerationTracker> generation_tracker, - std::shared_ptr<IStatusLine> statusline) noexcept + std::shared_ptr<IStatusLine> statusline +) noexcept : _generation_tracker(std::move(generation_tracker)), _statusline(std::move(statusline)) { @@ -19,7 +20,10 @@ void TogglePauseCommand::execute() noexcept _statusline->set_status( StatusLineSection::B, - fmt::format("Paused: {} Generation: {}", - _generation_tracker->get_is_paused() ? "yes" : "no", - _generation_tracker->get_current_generation())); + fmt::format( + "Paused: {} Generation: {}", + _generation_tracker->get_is_paused() ? "yes" : "no", + _generation_tracker->get_current_generation() + ) + ); } |