summaryrefslogtreecommitdiffstats
path: root/src/run.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/run.rs')
-rw-r--r--src/run.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/run.rs b/src/run.rs
index 496175e..9549bf1 100644
--- a/src/run.rs
+++ b/src/run.rs
@@ -16,7 +16,7 @@ pub fn run(config_t: JoshutoConfig, keymap_t: JoshutoCommandMapping) -> std::io:
let curr_path = std::env::current_dir()?;
{
// Initialize an initial tab
- let tab = JoshutoTab::new(curr_path, &context.config_t.sort_option)?;
+ let tab = JoshutoTab::new(curr_path, &context.config_ref().sort_option)?;
context.tab_context_mut().push_tab(tab);
// trigger a preview of child