From e9cff90b20047b7f9d33d74a02a6a5955867f752 Mon Sep 17 00:00:00 2001 From: Luke Else Date: Wed, 29 Mar 2023 19:06:31 +0100 Subject: [PATCH] Replaced Normal Mode keybinding in unreachable match arm --- src/ui/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/mod.rs b/src/ui/mod.rs index 3e9ec19..cc40fa6 100644 --- a/src/ui/mod.rs +++ b/src/ui/mod.rs @@ -485,7 +485,7 @@ impl LoginForm { } InputMode::Username => self.widgets.username_guard().key_press(k), InputMode::Password => self.widgets.password_guard().key_press(k), - InputMode::Normal => self.widgets.power_menu.key_press(k), + _ => None, }; // We don't wanna clear any existing error messages