diff options
author | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2020-03-02 18:50:29 -0500 |
---|---|---|
committer | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2020-03-02 18:50:29 -0500 |
commit | e321dfc3c96f50f09c3953340a5a6fea72a5a245 (patch) | |
tree | dc13fee011e7c49536eb28b5b3d5de8bef93af89 /src/history.rs | |
parent | 8bc73974e78883eb1f619d1829a8be77933e5c00 (diff) |
add tab widget for showing which tab we are on
- code cleanup
- pageup and pagedown now work properly
Diffstat (limited to 'src/history.rs')
-rw-r--r-- | src/history.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/history.rs b/src/history.rs index 036912e..cf6892f 100644 --- a/src/history.rs +++ b/src/history.rs @@ -65,7 +65,7 @@ impl DirectoryHistory for JoshutoHistory { dirlist.reload_contents(sort_option)?; } Entry::Vacant(entry) => { - let mut dirlist = JoshutoDirList::new(path.to_path_buf(), sort_option)?; + let dirlist = JoshutoDirList::new(path.to_path_buf(), sort_option)?; entry.insert(dirlist); } } |