summaryrefslogtreecommitdiffstats
path: root/src/tab.rs
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2019-06-04 15:02:56 -0400
committerJiayi Zhao <jeff.no.zhao@gmail.com>2019-06-04 15:02:56 -0400
commita521ceb379c34c854fb4e9848c0bcb7d28b46f4f (patch)
treec86e97529d19d60999828887bea8d60024b75a7e /src/tab.rs
parent735b51f6c350b97feb4f0f43bf3f9fc15858d1fd (diff)
remove file_name_as_string
Diffstat (limited to 'src/tab.rs')
-rw-r--r--src/tab.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tab.rs b/src/tab.rs
index e7f4ac6..b62d107 100644
--- a/src/tab.rs
+++ b/src/tab.rs
@@ -95,7 +95,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_as_string);
+ ncurses::waddstr(win.win, &entry.file_name);
}
ncurses::wattroff(win.win, ncurses::A_BOLD());
win.queue_for_refresh();