summaryrefslogtreecommitdiffstats
path: root/src/file.rs
diff options
context:
space:
mode:
authornwin <nwin@users.noreply.github.com>2015-02-22 18:36:11 +0100
committernwin <nwin@users.noreply.github.com>2015-02-22 18:36:11 +0100
commit8ac16fad8a7a2863fbcb0c965e4c4eafa8f35177 (patch)
tree3e59344ed459a04c0fb1f3f26643815284a8a42c /src/file.rs
parentdf909272a10a1eadc4f8c1101b547998ef95897e (diff)
Using convenience method and using extended clusters as recommended.
Diffstat (limited to 'src/file.rs')
-rw-r--r--src/file.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file.rs b/src/file.rs
index 32a6e53..41e4b0c 100644
--- a/src/file.rs
+++ b/src/file.rs
@@ -173,7 +173,7 @@ impl<'a> File<'a> {
/// characters are 1 columns wide, but in some contexts, certain
/// characters are actually 2 columns wide.
pub fn file_name_width(&self) -> usize {
- self.name.as_slice().width(false)
+ self.name.as_slice().width(true)
}
/// Assuming the current file is a symlink, follows the link and