Radish alpha
r
Radicle terminal user interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
issue: move up / down with 'j' and 'k'
Erik Kundt committed 2 years ago
commit 7c39a25d50705a75dfe5543ee189bacbf59c4b94
parent e774da02dbd66b32052a9ba49b67e097e38ce8b8
1 file changed +2 -2
modified bin/commands/issue/flux/select/ui.rs
@@ -240,7 +240,7 @@ impl Widget<IssuesState, Action> for Issues {

    fn handle_key_event(&mut self, key: Key) {
        match key {
-
            Key::Up => {
+
            Key::Up | Key::Char('k') => {
                self.table.prev();

                let selected = self
@@ -255,7 +255,7 @@ impl Widget<IssuesState, Action> for Issues {
                    });
                }
            }
-
            Key::Down => {
+
            Key::Down | Key::Char('j') => {
                self.table.next(self.props.issues.len());

                let selected = self