diff options
author | Canop <cano.petrole@gmail.com> | 2019-09-18 15:41:02 +0200 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2019-09-18 15:41:02 +0200 |
commit | 8c4f81b79907817fdab60c6581454249df111a65 (patch) | |
tree | 91e7d07e993c9d6fe8ac8fed2e75c131f4d822b9 /src/external.rs | |
parent | eb8188d223946cb515f846b82290011ddcc045ed (diff) |
minor code cleaning
Diffstat (limited to 'src/external.rs')
-rw-r--r-- | src/external.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/external.rs b/src/external.rs index 94cd83c..6c7c9d0 100644 --- a/src/external.rs +++ b/src/external.rs @@ -25,7 +25,7 @@ pub enum Launchable { TreePrinter { // print the tree on end of broot tree: Box<Tree>, - skin: Skin, + skin: Box<Skin>, width: u16, }, Program { @@ -58,7 +58,7 @@ impl Launchable { pub fn tree_printer(tree: &Tree, screen: &Screen) -> Launchable { Launchable::TreePrinter { tree: Box::new(tree.clone()), - skin: screen.skin.clone(), + skin: Box::new(screen.skin.clone()), width: screen.w, } } |