diff options
author | Gokul Soumya | 2022-07-19 16:19:02 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2022-12-15 08:52:44 +0000 |
commit | 914d2944997e11cf76eeabfe43f9031aeb2b1721 (patch) | |
tree | 52641d59df67d3a7c3a5b120b012ed5e46eae892 /helix-term/src/ui/overlay.rs | |
parent | c64debc7412c0769db8186694bd89f85ea057b1b (diff) |
Add DynamicPicker for updating options on every key
Diffstat (limited to 'helix-term/src/ui/overlay.rs')
-rw-r--r-- | helix-term/src/ui/overlay.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/helix-term/src/ui/overlay.rs b/helix-term/src/ui/overlay.rs index 0b8a93ae..5b2bc806 100644 --- a/helix-term/src/ui/overlay.rs +++ b/helix-term/src/ui/overlay.rs @@ -69,4 +69,8 @@ impl<T: Component + 'static> Component for Overlay<T> { let dimensions = (self.calc_child_size)(area); self.content.cursor(dimensions, ctx) } + + fn id(&self) -> Option<&'static str> { + self.content.id() + } } |