diff options
Diffstat (limited to 'helix-term/src')
-rw-r--r-- | helix-term/src/ui/menu.rs | 1 | ||||
-rw-r--r-- | helix-term/src/ui/picker.rs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/helix-term/src/ui/menu.rs b/helix-term/src/ui/menu.rs index 30625ace..bdad2e40 100644 --- a/helix-term/src/ui/menu.rs +++ b/helix-term/src/ui/menu.rs @@ -347,6 +347,7 @@ impl<T: Item + 'static> Component for Menu<T> { offset: scroll, selected: self.cursor, }, + false, ); if let Some(cursor) = self.cursor { 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, ); } |