mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-30 07:33:53 +00:00
true -> false
This commit is contained in:
parent
0082563e47
commit
beaf8789ce
@ -86,7 +86,7 @@ impl Cell {
|
|||||||
pub fn paint(style: Style, string: &str) -> Cell {
|
pub fn paint(style: Style, string: &str) -> Cell {
|
||||||
Cell {
|
Cell {
|
||||||
text: style.paint(string).to_string(),
|
text: style.paint(string).to_string(),
|
||||||
length: string.width(true),
|
length: string.width(false),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -173,7 +173,7 @@ impl<'a> File<'a> {
|
|||||||
/// characters are 1 columns wide, but in some contexts, certain
|
/// characters are 1 columns wide, but in some contexts, certain
|
||||||
/// characters are actually 2 columns wide.
|
/// characters are actually 2 columns wide.
|
||||||
pub fn file_name_width(&self) -> usize {
|
pub fn file_name_width(&self) -> usize {
|
||||||
self.name.as_slice().width(true)
|
self.name.as_slice().width(false)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Assuming the current file is a symlink, follows the link and
|
/// Assuming the current file is a symlink, follows the link and
|
||||||
|
Loading…
Reference in New Issue
Block a user