summaryrefslogtreecommitdiff
path: root/helix-term/src/application.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2022-11-09 13:17:14 +0000
committerBlaž Hrastnik2022-11-09 13:17:14 +0000
commit758bace2210e83dacadd755c3f97bb62ad259a73 (patch)
tree508066764ce123775b92bd8bd25952786b9905cb /helix-term/src/application.rs
parent264a455c18f765b04c31a613ccc336dd893c4cbe (diff)
fix test compilation
Diffstat (limited to 'helix-term/src/application.rs')
-rw-r--r--helix-term/src/application.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs
index 433104dc..39a6532d 100644
--- a/helix-term/src/application.rs
+++ b/helix-term/src/application.rs
@@ -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>>;