summaryrefslogtreecommitdiffstats
path: root/src/commands/file_ops/copy.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/file_ops/copy.rs')
-rw-r--r--src/commands/file_ops/copy.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/file_ops/copy.rs b/src/commands/file_ops/copy.rs
index a1a562e..2551321 100644
--- a/src/commands/file_ops/copy.rs
+++ b/src/commands/file_ops/copy.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 CopyFiles {
}
impl JoshutoRunnable for CopyFiles {
- 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::Copy);