mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-30 07:33:53 +00:00
Inline field
This commit is contained in:
parent
957c1925b1
commit
e83b019854
@ -19,11 +19,9 @@ impl f::PermissionsPlus {
|
|||||||
// As these are all ASCII characters, we can guarantee that they’re
|
// As these are all ASCII characters, we can guarantee that they’re
|
||||||
// all going to be one character wide, and don’t need to compute the
|
// all going to be one character wide, and don’t need to compute the
|
||||||
// cell’s display width.
|
// cell’s display width.
|
||||||
let width = DisplayWidth::from(chars.len());
|
|
||||||
|
|
||||||
TextCell {
|
TextCell {
|
||||||
|
width: DisplayWidth::from(chars.len()),
|
||||||
contents: chars.into(),
|
contents: chars.into(),
|
||||||
width: width,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user