aboutsummaryrefslogtreecommitdiff
path: root/src/commands/toggle_pause.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/toggle_pause.cpp')
-rw-r--r--src/commands/toggle_pause.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/commands/toggle_pause.cpp b/src/commands/toggle_pause.cpp
index 8a3f44c..d978bc6 100644
--- a/src/commands/toggle_pause.cpp
+++ b/src/commands/toggle_pause.cpp
@@ -17,6 +17,9 @@ void TogglePauseCommand::execute() noexcept
_generation_tracker->set_is_paused(onoff);
- _statusline->set_status(StatusLineSection::B,
- fmt::format("Paused: {}", onoff ? "yes" : "no"));
+ _statusline->set_status(
+ StatusLineSection::B,
+ fmt::format("Paused: {} Generation: {}",
+ _generation_tracker->get_is_paused() ? "yes" : "no",
+ _generation_tracker->get_current_generation()));
}