aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/ui/popup.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-05-09 09:32:40 +0000
committerBlaž Hrastnik2021-05-09 09:32:40 +0000
commitccdebb99b547cd2eafc0b0e4f5cfc116fa729487 (patch)
treed1ac27074a9052dd6b8be662a6cc27cb8fa13c06 /helix-term/src/ui/popup.rs
parentff4c1d05deee2b4b4d85c29a627fb01e60886c7f (diff)
Drop some useless imports.
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