diff options
Diffstat (limited to 'src/commands/file_ops/cut.rs')
-rw-r--r-- | src/commands/file_ops/cut.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/file_ops/cut.rs b/src/commands/file_ops/cut.rs index f466ca7..d77f157 100644 --- a/src/commands/file_ops/cut.rs +++ b/src/commands/file_ops/cut.rs @@ -1,7 +1,7 @@ use crate::commands::{JoshutoCommand, JoshutoRunnable}; use crate::context::JoshutoContext; use crate::error::JoshutoResult; -use crate::window::JoshutoView; +use crate::ui::TuiBackend; use super::local_state::{FileOp, LocalState}; @@ -26,7 +26,7 @@ impl std::fmt::Display for CutFiles { } impl JoshutoRunnable for CutFiles { - fn execute(&self, context: &mut JoshutoContext, _: &JoshutoView) -> JoshutoResult<()> { + fn execute(&self, context: &mut JoshutoContext, _: &mut TuiBackend) -> JoshutoResult<()> { let curr_tab = context.curr_tab_ref(); LocalState::repopulated_selected_files(&curr_tab.curr_list)?; LocalState::set_file_op(FileOp::Cut); |