Skip to content

Commit

Permalink
Fixed regression where sessions menu would not close after selection.
Browse files Browse the repository at this point in the history
  • Loading branch information
apognu committed Oct 29, 2023
1 parent c1677bd commit 23fefa4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/keyboard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ pub async fn handle(greeter: Arc<RwLock<Greeter>>, input: KeyEvent, ipc: Ipc) ->

greeter.command = Some(command.clone());
}

greeter.mode = greeter.previous_mode;
}

Mode::Power => {
Expand Down

0 comments on commit 23fefa4

Please sign in to comment.