aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/ui/picker.rs
diff options
context:
space:
mode:
authormWalrus2023-03-22 14:38:34 +0000
committerBlaž Hrastnik2023-03-31 06:19:17 +0000
commite72be529968071abcd5fce1d9a06e8e2e2bbaacf (patch)
tree8c0f12984f736c8fce0b0241e541073218f318a4 /helix-term/src/ui/picker.rs
parenta863fd89e149ae698f1c7d1d493cc4197abd430a (diff)
Truncate paths in the file picker (#6410)
Diffstat (limited to 'helix-term/src/ui/picker.rs')
-rw-r--r--helix-term/src/ui/picker.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-term/src/ui/picker.rs b/helix-term/src/ui/picker.rs
index 3294a2a1..e73088e5 100644
--- a/helix-term/src/ui/picker.rs
+++ b/helix-term/src/ui/picker.rs
@@ -885,6 +885,7 @@ impl<T: Item + 'static> Component for Picker<T> {
offset: 0,
selected: Some(cursor),
},
+ self.truncate_start,
);
}