@@ -1,3 +1,5 @@
1+use crate::{keymap, Args};
2+use anyhow::Error;
13use crossterm::{
24 cursor,
35 cursor::position,
@@ -7,15 +9,11 @@ use crossterm::{
79 terminal::{self, disable_raw_mode, enable_raw_mode},
810};
911use futures::{future::FutureExt, select, StreamExt};
12+use helix_core::{state::coords_at_pos, Buffer, State};
1013use std::io::{self, stdout, Write};
1114use std::path::PathBuf;
1215use std::time::Duration;
1316
14−use anyhow::Error;
15−
16−use crate::{keymap, Args};
17−use helix_core::{state::coords_at_pos, Buffer, State};
18−
1917pub struct BufferComponent<'a> {
2018 x: u16,
2119 y: u16,