summaryrefslogtreecommitdiffstats
path: root/src/tab.rs
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2020-02-16 16:40:20 -0500
committerJiayi Zhao <jeff.no.zhao@gmail.com>2020-02-16 16:40:20 -0500
commit88da91c0f97dcb40e7e4cab54941af92a46d2e1a (patch)
treed5e7fa33842c19b32bfc834e531e2b942813e985 /src/tab.rs
parent98d0ce7e70f9febf804cda7473f5e9f7f180fe91 (diff)
remove more code
- remove curr_list field from tab - fixes many commands not working
Diffstat (limited to 'src/tab.rs')
-rw-r--r--src/tab.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/tab.rs b/src/tab.rs
index c467568..08bf0ee 100644
--- a/src/tab.rs
+++ b/src/tab.rs
@@ -7,7 +7,6 @@ use crate::sort;
pub struct JoshutoTab {
pub history: JoshutoHistory,
pub curr_path: PathBuf,
- pub curr_list: JoshutoDirList,
}
impl JoshutoTab {
@@ -15,12 +14,9 @@ impl JoshutoTab {
let mut history = JoshutoHistory::new();
history.populate_to_root(&curr_path, sort_option)?;
- let curr_list = JoshutoDirList::new(curr_path.clone(), sort_option)?;
-
let tab = JoshutoTab {
curr_path,
history,
- curr_list,
};
Ok(tab)
}