diff options
Diffstat (limited to 'helix-tui/src/widgets/mod.rs')
-rw-r--r-- | helix-tui/src/widgets/mod.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/helix-tui/src/widgets/mod.rs b/helix-tui/src/widgets/mod.rs index 484ad50e..e5608a79 100644 --- a/helix-tui/src/widgets/mod.rs +++ b/helix-tui/src/widgets/mod.rs @@ -20,9 +20,11 @@ pub use self::block::{Block, BorderType}; pub use self::paragraph::{Paragraph, Wrap}; pub use self::table::{Cell, Row, Table, TableState}; -use crate::{buffer::Buffer, layout::Rect}; +use crate::buffer::Buffer; use bitflags::bitflags; +use helix_view::graphics::Rect; + bitflags! { /// Bitflags that can be composed to set the visible borders essentially on the block widget. pub struct Borders: u32 { |