allow alt-enter rebinding
Fix
@@ -204,11 +204,6 @@ impl Command {
return;
}
- if *key == keys::ALT_ENTER {
- self.action = Action::AltOpenSelection;
- return;
- }
-
if *key == keys::ESC {
// Esc it's also a reserved key so order doesn't matter
self.set_action(Action::Back);
@@ -239,6 +234,11 @@ impl Command {
return;
}
+ if *key == keys::ALT_ENTER {
+ self.action = Action::AltOpenSelection;
+ return;
+ }
+
if *key == keys::TAB {
self.set_action(Action::Next);
return;
