diff --git a/src/keyboard.rs b/src/keyboard.rs index 5efd917..9c386ac 100644 --- a/src/keyboard.rs +++ b/src/keyboard.rs @@ -217,6 +217,8 @@ pub async fn handle(greeter: Arc>, input: KeyEvent, ipc: Ipc) -> greeter.command = Some(command.clone()); } + + greeter.mode = greeter.previous_mode; } Mode::Power => {