diff options
author | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-06-04 16:55:36 -0400 |
---|---|---|
committer | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-06-04 16:59:39 -0400 |
commit | 97a1b5a9ad52f1d706b02ab6c7cd019da9a124b9 (patch) | |
tree | 2f407ff91aaa6595626e1904430fb0ba44f6d630 /src/tab.rs | |
parent | fd4bd6f79ec8051c91f69543fc20d5e8d6607f13 (diff) |
change pub fields to private and rename structs to io
Diffstat (limited to 'src/tab.rs')
-rw-r--r-- | src/tab.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,9 +1,9 @@ use std::path::PathBuf; use crate::history::{DirectoryHistory, JoshutoHistory}; +use crate::io::JoshutoDirList; use crate::preview; use crate::sort; -use crate::structs::JoshutoDirList; use crate::ui; use crate::window::{JoshutoPanel, JoshutoView}; use crate::JoshutoConfig; @@ -100,7 +100,7 @@ impl JoshutoTab { ncurses::waddstr(win.win, "/"); ncurses::wattroff(win.win, ncurses::COLOR_PAIR(THEME_T.directory.colorpair)); if let Some(entry) = self.curr_list.get_curr_ref() { - ncurses::waddstr(win.win, &entry.file_name); + ncurses::waddstr(win.win, &entry.file_name()); } ncurses::wattroff(win.win, ncurses::A_BOLD()); win.queue_for_refresh(); |