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

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

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

                let selected = self