summaryrefslogtreecommitdiff
path: root/helix-view/src/view.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-view/src/view.rs')
-rw-r--r--helix-view/src/view.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/helix-view/src/view.rs b/helix-view/src/view.rs
index c0a72c78..24df7a4f 100644
--- a/helix-view/src/view.rs
+++ b/helix-view/src/view.rs
@@ -1,12 +1,11 @@
use std::borrow::Cow;
-use crate::{Document, DocumentId, ViewId};
+use crate::{graphics::Rect, Document, DocumentId, ViewId};
use helix_core::{
coords_at_pos,
graphemes::{grapheme_width, RopeGraphemes},
Position, RopeSlice, Selection,
};
-use tui::layout::Rect;
pub const PADDING: usize = 5;