diff options
Diffstat (limited to 'src/commands/set_mode.rs')
-rw-r--r-- | src/commands/set_mode.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/set_mode.rs b/src/commands/set_mode.rs index bef6fe5..955f883 100644 --- a/src/commands/set_mode.rs +++ b/src/commands/set_mode.rs @@ -1,4 +1,4 @@ -use crate::commands::{CursorMoveInc, JoshutoCommand, JoshutoRunnable}; +use crate::commands::{CursorMoveDown, JoshutoCommand, JoshutoRunnable}; use crate::context::JoshutoContext; use crate::error::JoshutoError; use crate::structs::JoshutoDirEntry; @@ -89,7 +89,7 @@ impl JoshutoRunnable for SetMode { mode_string.remove(0); self.set_mode(file, mode_string); - CursorMoveInc::new(1).execute(context, view) + CursorMoveDown::new(1).execute(context, view) } else { Ok(()) } |