diff options
Diffstat (limited to 'src/commands/search.rs')
-rw-r--r-- | src/commands/search.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/search.rs b/src/commands/search.rs index d3a43f1..81cfd79 100644 --- a/src/commands/search.rs +++ b/src/commands/search.rs @@ -17,7 +17,7 @@ pub fn search_next(context: &mut AppContext) -> JoshutoResult<()> { } }; if let Some(index) = index { - let _ = cursor_move::cursor_move(index, context); + let _ = cursor_move::cursor_move(context, index); } } Ok(()) @@ -34,7 +34,7 @@ pub fn search_prev(context: &mut AppContext) -> JoshutoResult<()> { } }; if let Some(index) = index { - let _ = cursor_move::cursor_move(index, context); + let _ = cursor_move::cursor_move(context, index); } } Ok(()) |