summaryrefslogtreecommitdiffstats
path: root/src/launchable.rs
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2021-08-03 20:49:25 +0200
committerCanop <cano.petrole@gmail.com>2021-08-04 13:25:29 +0200
commitc68e7f3bd12ad14214e074d90c1640d8b2536801 (patch)
tree797741ea2fae240960a9aa03ce3dadb79cb29856 /src/launchable.rs
parent3123abc98b2f2e8e52da3ecce96c690341e75c11 (diff)
improve scrolling behaviors
Especially move the selection when you're at one end and you try to scroll the blocked way. Fix #419
Diffstat (limited to 'src/launchable.rs')
-rw-r--r--src/launchable.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/launchable.rs b/src/launchable.rs
index 3666fa5..7c602d0 100644
--- a/src/launchable.rs
+++ b/src/launchable.rs
@@ -126,7 +126,7 @@ impl Launchable {
Ok(())
}
Launchable::TreePrinter { tree, skin, ext_colors, width, height } => {
- let dp = DisplayableTree::out_of_app(&tree, &skin, &ext_colors, *width, *height);
+ let dp = DisplayableTree::out_of_app(tree, skin, ext_colors, *width, *height);
dp.write_on(&mut std::io::stdout())
}
Launchable::Program {