summaryrefslogtreecommitdiffstats
path: root/src/commands/new_directory.rs
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2020-08-30 15:20:03 -0400
committerJiayi Zhao <jeff.no.zhao@gmail.com>2020-08-30 15:20:03 -0400
commite7218c81d90ae07d7f56dce0c3032db15b11d118 (patch)
tree63c3b63345ec73031b26c1b900957ad06b69aec6 /src/commands/new_directory.rs
parenta592bfe51c0cbb7744f14586520827cb06da8c8d (diff)
rework and fix issues
- fixed bug where io tasks would not run when user is in a textfield or prompt - fixed bug where cut doesn't work - rework structs to have private fields and public functions - move IOWorkerObserver into seperate file - move code from TuiView to TuiFolderView
Diffstat (limited to 'src/commands/new_directory.rs')
-rw-r--r--src/commands/new_directory.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/new_directory.rs b/src/commands/new_directory.rs
index 401e2a2..b2372ae 100644
--- a/src/commands/new_directory.rs
+++ b/src/commands/new_directory.rs
@@ -36,7 +36,7 @@ impl JoshutoRunnable for NewDirectory {
let options = context.config_t.sort_option.clone();
let curr_path = context.tab_context_ref().curr_tab_ref().pwd().to_path_buf();
for tab in context.tab_context_mut().iter_mut() {
- tab.history.reload(&curr_path, &options)?;
+ tab.history_mut().reload(&curr_path, &options)?;
}
LoadChild::load_child(context)?;