aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/ui/overlay.rs
diff options
context:
space:
mode:
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()
+ }
}