termux-packages/packages/exa/src-output-render-users.rs.patch

13 lines
664 B
Diff
Raw Normal View History

2018-10-18 05:57:12 +02:00
diff -u -r ../exa-57e4c08411f59e7db91fa7d8127fbd412667ea32/src/output/render/users.rs ./src/output/render/users.rs
--- ../exa-57e4c08411f59e7db91fa7d8127fbd412667ea32/src/output/render/users.rs 2018-10-14 15:21:13.000000000 +0000
+++ ./src/output/render/users.rs 2018-10-18 03:13:18.959014671 +0000
@@ -9,7 +9,7 @@
impl f::User {
pub fn render<C: Colours, U: Users>(&self, colours: &C, users: &U) -> TextCell {
let user_name = match users.get_user_by_uid(self.0) {
- Some(user) => user.name().to_owned(),
+ Some(user) => user.name().to_str().unwrap().to_owned(),
None => self.0.to_string(),
};