Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-view/src/ui/prompt.rs')
-rw-r--r--helix-view/src/ui/prompt.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/helix-view/src/ui/prompt.rs b/helix-view/src/ui/prompt.rs
index 2d73fb1e..911ae2ef 100644
--- a/helix-view/src/ui/prompt.rs
+++ b/helix-view/src/ui/prompt.rs
@@ -455,6 +455,9 @@ impl compositor::term::Render for Prompt {
}
}
+#[cfg(feature = "ui")]
+impl compositor::ui::Render for Prompt {}
+
impl Component for Prompt {
fn handle_event(&mut self, event: Event, cx: &mut Context) -> EventResult {
let event = match event {