From e774da02dbd66b32052a9ba49b67e097e38ce8b8 Mon Sep 17 00:00:00 2001 From: Erik Kundt Date: Wed, 28 Feb 2024 11:09:21 +0100 Subject: [PATCH] inbox: move up / down with 'j' and 'k' --- bin/commands/inbox/flux/select/ui.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/commands/inbox/flux/select/ui.rs b/bin/commands/inbox/flux/select/ui.rs index f18f3411..a05063df 100644 --- a/bin/commands/inbox/flux/select/ui.rs +++ b/bin/commands/inbox/flux/select/ui.rs @@ -215,7 +215,7 @@ impl Widget for Notifications { fn handle_key_event(&mut self, key: Key) { match key { - Key::Up => { + Key::Up | Key::Char('k') => { self.table.prev(); let selected = self @@ -230,7 +230,7 @@ impl Widget for Notifications { }); } } - Key::Down => { + Key::Down | Key::Char('j') => { self.table.next(self.props.notifications.len()); let selected = self