diff options
author | Oxore <oxore@protonmail.com> | 2023-08-04 20:38:41 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2023-08-07 06:25:53 +0300 |
commit | 54378db2c8d79cdac36b98f72080aec43a4e0998 (patch) | |
tree | 4c504bd6e5c1bc643ad3d4de749a0350251ca82f | |
parent | efa136edbfebf543afb37c806df555a170cf360a (diff) |
Use enter for menu selection too
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 31242db..11b0dbf 100644 --- a/src/main.rs +++ b/src/main.rs @@ -505,7 +505,7 @@ impl Game { None } } - 'l' | ' ' => { + 'l' | ' ' | '\n' => { match &self.menu[self.menu_selected].content { MenuContent::Action(action) => match action { MenuAction::Run => { |