summaryrefslogtreecommitdiffstats
path: root/src/commands/open_file.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/open_file.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/open_file.rs')
-rw-r--r--src/commands/open_file.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/open_file.rs b/src/commands/open_file.rs
index 501eb67..4f29432 100644
--- a/src/commands/open_file.rs
+++ b/src/commands/open_file.rs
@@ -51,7 +51,7 @@ impl OpenFile {
}
if let Some(path) = dirpath {
ChangeDirectory::cd(path.as_path(), context)?;
- LoadChild::load_child(context, backend);
+ LoadChild::load_child(context)?;
} else if let Some(paths) = filepaths {
let options = Self::get_options(paths[0]);
if options.len() > 0 {