summaryrefslogtreecommitdiff
path: root/helix-term/src/ui/overlay.rs
diff options
context:
space:
mode:
authorGokul Soumya2022-07-19 16:19:02 +0000
committerBlaž Hrastnik2022-12-15 08:52:44 +0000
commit914d2944997e11cf76eeabfe43f9031aeb2b1721 (patch)
tree52641d59df67d3a7c3a5b120b012ed5e46eae892 /helix-term/src/ui/overlay.rs
parentc64debc7412c0769db8186694bd89f85ea057b1b (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.rs4
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()
+ }
}