summaryrefslogtreecommitdiffstats
path: root/src/run.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/run.rs')
-rw-r--r--src/run.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/run.rs b/src/run.rs
index 34b6e44..90035b6 100644
--- a/src/run.rs
+++ b/src/run.rs
@@ -67,7 +67,8 @@ pub fn run(config_t: JoshutoConfig, keymap_t: JoshutoCommandMapping) -> std::io:
context.message_queue.push_back(msg);
let options = &context.config_t.sort_option;
for tab in context.tabs.iter_mut() {
- tab.history.depreciate_all_entries();
+ tab.history.depreciate_entry(&src);
+ tab.history.depreciate_entry(&dest);
}
LoadChild::load_child(&mut context)?;
}