diff options
author | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-06-04 15:14:13 -0400 |
---|---|---|
committer | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-06-04 15:14:13 -0400 |
commit | fd4bd6f79ec8051c91f69543fc20d5e8d6607f13 (patch) | |
tree | dda624a98d9aec467f2b7a11375b682e38739169 /src/tab.rs | |
parent | a521ceb379c34c854fb4e9848c0bcb7d28b46f4f (diff) |
cargo fmt
Diffstat (limited to 'src/tab.rs')
-rw-r--r-- | src/tab.rs | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -1,12 +1,12 @@ use std::path::PathBuf; -use crate::JoshutoConfig; use crate::history::{DirectoryHistory, JoshutoHistory}; use crate::preview; use crate::sort; use crate::structs::JoshutoDirList; use crate::ui; use crate::window::{JoshutoPanel, JoshutoView}; +use crate::JoshutoConfig; use crate::{HOSTNAME, USERNAME}; @@ -44,7 +44,12 @@ impl JoshutoTab { } pub fn refresh_curr(&mut self, win: &JoshutoPanel, config_t: &JoshutoConfig) { - ui::display_contents(win, &mut self.curr_list, config_t, &ui::PRIMARY_DISPLAY_OPTION); + ui::display_contents( + win, + &mut self.curr_list, + config_t, + &ui::PRIMARY_DISPLAY_OPTION, + ); } pub fn refresh_parent(&mut self, win: &JoshutoPanel, config_t: &JoshutoConfig) { |