summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Zhao <jeff.no.zhao@gmail.com>2021-02-06 10:54:48 -0500
committerJeff Zhao <jeff.no.zhao@gmail.com>2021-02-06 10:54:48 -0500
commit84d5482d2886b617181380acb3f7e2fbb34a71b5 (patch)
tree9ae7fd63bf9b12ecf2157f1b52e58168b5752d78
parentd6ec8d8de081cca73a851d5bba9828ee3923470c (diff)
update screenshot
-rw-r--r--screenshot.pngbin2102465 -> 521597 bytes
-rw-r--r--src/commands/change_directory.rs4
2 files changed, 2 insertions, 2 deletions
diff --git a/screenshot.png b/screenshot.png
index f392f4d..37f841d 100644
--- a/screenshot.png
+++ b/screenshot.png
Binary files differ
diff --git a/src/commands/change_directory.rs b/src/commands/change_directory.rs
index e1c1167..49cf5b6 100644
--- a/src/commands/change_directory.rs
+++ b/src/commands/change_directory.rs
@@ -11,7 +11,7 @@ pub fn cd(path: &path::Path, context: &mut JoshutoContext) -> std::io::Result<()
Ok(())
}
-pub fn change_directories(path: &path::Path, context: &mut JoshutoContext) -> std::io::Result<()> {
+fn _change_directory(path: &path::Path, context: &mut JoshutoContext) -> std::io::Result<()> {
cd(path, context)?;
let sort_options = context.config_ref().sort_option.clone();
context
@@ -24,7 +24,7 @@ pub fn change_directories(path: &path::Path, context: &mut JoshutoContext) -> st
}
pub fn change_directory(context: &mut JoshutoContext, path: &path::Path) -> JoshutoResult<()> {
- change_directories(path, context)?;
+ _change_directory(path, context)?;
LoadChild::load_child(context)?;
Ok(())
}