From b945de66129d1c8dd683059e998e3552abcee182 Mon Sep 17 00:00:00 2001 From: Codex Agent Date: Sun, 23 Nov 2025 00:54:53 +0100 Subject: [PATCH] Move core maintenance hotkey to avoid pump conflict --- src/reactor_sim/dashboard.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/reactor_sim/dashboard.py b/src/reactor_sim/dashboard.py index 7e4fe93..fa3e3c2 100644 --- a/src/reactor_sim/dashboard.py +++ b/src/reactor_sim/dashboard.py @@ -59,7 +59,7 @@ class ReactorDashboard: DashboardKey("+/-", "Withdraw/insert rods"), DashboardKey("[/]", "Adjust consumer demand −/+50 MW"), DashboardKey("s/d", "Setpoint −/+250 MW"), - DashboardKey("k", "Maintain core (shutdown required)"), + DashboardKey("p", "Maintain core (shutdown required)"), ], ), ( @@ -161,6 +161,8 @@ class ReactorDashboard: self._toggle_secondary_pump_unit(0) elif ch in (ord("k"), ord("K")): self._toggle_secondary_pump_unit(1) + elif ch in (ord("p"), ord("P")): + self._queue_command(ReactorCommand.maintain("core")) elif ch in (ord("b"), ord("B")): self._toggle_generator_unit(0) elif ch in (ord("v"), ord("V")): @@ -203,8 +205,6 @@ class ReactorDashboard: self._queue_command(ReactorCommand.maintain("primary_pump_1")) elif ch in (ord("n"), ord("N")): self._queue_command(ReactorCommand.maintain("primary_pump_2")) - elif ch in (ord("k"), ord("K")): - self._queue_command(ReactorCommand.maintain("core")) elif ch == ord(","): self._queue_command(ReactorCommand.maintain("secondary_pump_1")) elif ch == ord("."):