fix test compilation
This commit is contained in:
parent
264a455c18
commit
758bace221
2 changed files with 3 additions and 2 deletions
|
@ -58,6 +58,9 @@ const LSP_DEADLINE: Duration = Duration::from_millis(16);
|
|||
#[cfg(not(feature = "integration"))]
|
||||
use tui::backend::CrosstermBackend;
|
||||
|
||||
#[cfg(feature = "integration")]
|
||||
use tui::backend::TestBackend;
|
||||
|
||||
#[cfg(not(feature = "integration"))]
|
||||
type Terminal = tui::terminal::Terminal<CrosstermBackend<std::io::Stdout>>;
|
||||
|
||||
|
|
|
@ -4,8 +4,6 @@
|
|||
use helix_core::Position;
|
||||
use helix_view::graphics::{CursorKind, Rect};
|
||||
|
||||
#[cfg(feature = "integration")]
|
||||
use tui::backend::TestBackend;
|
||||
use tui::buffer::Buffer as Surface;
|
||||
|
||||
pub type Callback = Box<dyn FnOnce(&mut Compositor, &mut Context)>;
|
||||
|
|
Loading…
Add table
Reference in a new issue