diff options
author | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2020-02-16 16:40:20 -0500 |
---|---|---|
committer | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2020-02-16 16:40:20 -0500 |
commit | 88da91c0f97dcb40e7e4cab54941af92a46d2e1a (patch) | |
tree | d5e7fa33842c19b32bfc834e531e2b942813e985 /src/tab.rs | |
parent | 98d0ce7e70f9febf804cda7473f5e9f7f180fe91 (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.rs | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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) } |