Handle enter/space for explorers

This commit is contained in:
veeso
2021-03-21 12:03:08 +01:00
parent cd31cc1fc9
commit 16a8fc3ad8
2 changed files with 95 additions and 0 deletions

View File

@@ -64,6 +64,10 @@ pub const MSG_KEY_UP: Msg = Msg::OnKey(KeyEvent {
code: KeyCode::Up,
modifiers: KeyModifiers::NONE,
});
pub const MSG_KEY_SPACE: Msg = Msg::OnKey(KeyEvent {
code: KeyCode::Char(' '),
modifiers: KeyModifiers::NONE,
});
// -- char keys