From 4418e17547562e211952b9e8585916e04b858b3b Mon Sep 17 00:00:00 2001 From: Keith Simmons Date: Thu, 24 Jun 2021 20:58:15 -0700 Subject: reverse the dependency between helix-tui and helix-view (#366) * reverse the dependency between helix-tui and helix-view by moving a fiew types to view * fix tests * clippy and format fixes Co-authored-by: Keith Simmons --- helix-tui/src/backend/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'helix-tui/src/backend/mod.rs') diff --git a/helix-tui/src/backend/mod.rs b/helix-tui/src/backend/mod.rs index 5cf21768..c6c11019 100644 --- a/helix-tui/src/backend/mod.rs +++ b/helix-tui/src/backend/mod.rs @@ -1,8 +1,8 @@ use std::io; use crate::buffer::Cell; -use crate::layout::Rect; -use crate::terminal::CursorKind; + +use helix_view::graphics::{CursorKind, Rect}; #[cfg(feature = "crossterm")] mod crossterm; -- cgit v1.2.3-70-g09d2