diff options
Diffstat (limited to 'src/commands/cursor_move.rs')
-rw-r--r-- | src/commands/cursor_move.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/cursor_move.rs b/src/commands/cursor_move.rs index 078d470..6a4ec19 100644 --- a/src/commands/cursor_move.rs +++ b/src/commands/cursor_move.rs @@ -30,7 +30,7 @@ pub fn cursor_move(new_index: usize, context: &mut JoshutoContext) -> JoshutoRes context .tab_context_mut() .curr_tab_mut() - .history + .history_mut() .create_or_soft_update(path.as_path(), &sort_options)?; } } @@ -154,7 +154,7 @@ impl JoshutoRunnable for CursorMovePageUp { }; if let Some(s) = movement { - cursor_move(s, context); + cursor_move(s, context)?; } Ok(()) } |