Radish alpha
r
Radicle terminal user interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
inbox: move up / down with 'j' and 'k'
Erik Kundt committed 2 years ago
commit e774da02dbd66b32052a9ba49b67e097e38ce8b8
parent f24c51d102d8ce3846e6c4a865198b54c4e7a543
1 file changed +2 -2
modified bin/commands/inbox/flux/select/ui.rs
@@ -215,7 +215,7 @@ impl Widget<InboxState, Action> 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<InboxState, Action> for Notifications {
                    });
                }
            }
-
            Key::Down => {
+
            Key::Down | Key::Char('j') => {
                self.table.next(self.props.notifications.len());

                let selected = self