diff options
Diffstat (limited to 'src/key_command/impl_numbered.rs')
-rw-r--r-- | src/key_command/impl_numbered.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/key_command/impl_numbered.rs b/src/key_command/impl_numbered.rs index d1f05f0..74ad6ee 100644 --- a/src/key_command/impl_numbered.rs +++ b/src/key_command/impl_numbered.rs @@ -19,8 +19,8 @@ impl NumberedExecute for Command { keymap_t: &AppKeyMapping, ) -> JoshutoResult { match self { - Self::CursorMoveUp(_) => cursor_move::up(context, number_prefix), - Self::CursorMoveDown(_) => cursor_move::down(context, number_prefix), + Self::CursorMoveUp { .. } => cursor_move::up(context, number_prefix), + Self::CursorMoveDown { .. } => cursor_move::down(context, number_prefix), _ => Err(JoshutoError::new( JoshutoErrorKind::UnrecognizedCommand, "Command cannot be prefixed by a number".to_string(), |