aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/ui/popup.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term/src/ui/popup.rs')
-rw-r--r--helix-term/src/ui/popup.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/helix-term/src/ui/popup.rs b/helix-term/src/ui/popup.rs
index c59287e2..015d5c9b 100644
--- a/helix-term/src/ui/popup.rs
+++ b/helix-term/src/ui/popup.rs
@@ -4,7 +4,6 @@ use tui::{
buffer::Buffer as Surface,
layout::Rect,
style::{Color, Style},
- widgets::{Block, Borders},
};
use std::borrow::Cow;
@@ -113,11 +112,6 @@ impl<T: Component> Component for Popup<T> {
}
fn render(&self, viewport: Rect, surface: &mut Surface, cx: &mut Context) {
- use tui::{
- text::Text,
- widgets::{Paragraph, Widget, Wrap},
- };
-
cx.scroll = Some(self.scroll);
let position = self