Refactor command console UI lifecycle

This commit is contained in:
Luke Street
2026-08-20 17:33:13 -06:00
parent d3f10221b8
commit fbe7b57132
10 changed files with 264 additions and 117 deletions
+1 -1
View File
@@ -558,7 +558,7 @@ void runCommand(std::string_view cmdLine, CommandState& state, const CommandOutp
}
dusk::game_clock::set_sim_rate((float)*hz);
}
output(fmt::format(FMT_STRING("Sim rate: {} hz"), (int)dusk::game_clock::get_sim_rate()));
output(fmt::format(FMT_STRING("Sim rate: {:.0f} hz"), dusk::game_clock::get_sim_rate()));
return;
}