summaryrefslogtreecommitdiffstats
path: root/src/commands/change_directory.rs
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2020-02-16 15:45:05 -0500
committerJiayi Zhao <jeff.no.zhao@gmail.com>2020-02-16 15:50:25 -0500
commit98d0ce7e70f9febf804cda7473f5e9f7f180fe91 (patch)
treec8c8dd60d9e6502202b910e64f79cd75b933d05d /src/commands/change_directory.rs
parentd788f8d740be85bb014ddfa005156723f0a31e99 (diff)
remove ncurses dependency
- clean up code - update theme config - fix localstate tracking file selection not selecting proper files
Diffstat (limited to 'src/commands/change_directory.rs')
-rw-r--r--src/commands/change_directory.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/commands/change_directory.rs b/src/commands/change_directory.rs
index 5f30c36..1897b90 100644
--- a/src/commands/change_directory.rs
+++ b/src/commands/change_directory.rs
@@ -32,7 +32,6 @@ impl ChangeDirectory {
pub fn change_directories(
path: &path::Path,
context: &mut JoshutoContext,
- backend: &mut TuiBackend,
) -> std::io::Result<()> {
Self::cd(path, context)?;
@@ -55,8 +54,8 @@ impl std::fmt::Display for ChangeDirectory {
impl JoshutoRunnable for ChangeDirectory {
fn execute(&self, context: &mut JoshutoContext, backend: &mut TuiBackend) -> JoshutoResult<()> {
- Self::change_directories(&self.path, context, backend)?;
- LoadChild::load_child(context, backend);
+ Self::change_directories(&self.path, context)?;
+ LoadChild::load_child(context)?;
Ok(())
}