summaryrefslogtreecommitdiffstats
path: root/src/commands/delete_files.rs
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2019-06-04 10:49:47 -0400
committerJiayi Zhao <jeff.no.zhao@gmail.com>2019-06-04 13:26:09 -0400
commit7036a7e6ff57b7e5e4b99133ea7466a3b24bf0ce (patch)
treea23141ae6474748f7ae49e04316136f2906fe7bd /src/commands/delete_files.rs
parentda20212f32c8b43400d0aec2af39376651f32b9d (diff)
revert back to previous printing method
- fix index out of bounds error when multiple threads are running
Diffstat (limited to 'src/commands/delete_files.rs')
-rw-r--r--src/commands/delete_files.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/delete_files.rs b/src/commands/delete_files.rs
index 607adef..f9ca485 100644
--- a/src/commands/delete_files.rs
+++ b/src/commands/delete_files.rs
@@ -55,7 +55,7 @@ impl DeleteFiles {
if ch == 'y' as i32 {
Self::remove_files(paths)?;
ui::wprint_msg(&view.bot_win, "Deleted files");
- ReloadDirList::reload(context.curr_tab_index, context, view)?;
+ ReloadDirList::reload(context.curr_tab_index, context)?;
}
}
}