diff options
author | Keith Simmons | 2021-06-25 03:58:15 +0000 |
---|---|---|
committer | GitHub | 2021-06-25 03:58:15 +0000 |
commit | 4418e17547562e211952b9e8585916e04b858b3b (patch) | |
tree | 8427958809392969b035967c1c69e9507207d00e /helix-term/src/application.rs | |
parent | 74cc4b4a49e05462b2b543737ad4dc32e2265794 (diff) |
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 <keithsim@microsoft.com>
Diffstat (limited to 'helix-term/src/application.rs')
-rw-r--r-- | helix-term/src/application.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs index f9c6c9c1..f33a5831 100644 --- a/helix-term/src/application.rs +++ b/helix-term/src/application.rs @@ -1,6 +1,6 @@ use helix_core::syntax; use helix_lsp::{lsp, LspProgressMap}; -use helix_view::{document::Mode, theme, Document, Editor, Theme, View}; +use helix_view::{document::Mode, graphics::Rect, theme, Document, Editor, Theme, View}; use crate::{ args::Args, @@ -29,8 +29,6 @@ use crossterm::{ execute, terminal, }; -use tui::layout::Rect; - use futures_util::{future, stream::FuturesUnordered}; type BoxFuture<T> = Pin<Box<dyn Future<Output = T> + Send>>; |