summaryrefslogtreecommitdiffstats
path: root/src/file_browser.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/file_browser.rs')
-rw-r--r--src/file_browser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_browser.rs b/src/file_browser.rs
index 0d0052b..1ed031e 100644
--- a/src/file_browser.rs
+++ b/src/file_browser.rs
@@ -1240,7 +1240,7 @@ impl Widget for FileBrowser {
let pretty_path = format!("{}/{}{}", path, &color, name );
let sized_path = crate::term::sized_string(&pretty_path, xsize);
- Ok(sized_path)
+ Ok(sized_path.to_string())
}
fn render_footer(&self) -> HResult<String> {
let xsize = term::xsize_u();