diff options
author | Skyler Hawthorne | 2022-04-27 04:07:59 +0000 |
---|---|---|
committer | Skyler Hawthorne | 2022-06-19 03:57:47 +0000 |
commit | 652cdda8338bee55eeff58066cd20e68bb0b5a44 (patch) | |
tree | e5e95de26077af4894c65f944fc58af7855289cb /helix-term/src/application.rs | |
parent | ed950fcc56c480dc5a54c7e07918dca9192db200 (diff) |
use test terminal backend for integration tests
Diffstat (limited to 'helix-term/src/application.rs')
-rw-r--r-- | helix-term/src/application.rs | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs index 65cf4b2e..886b531b 100644 --- a/helix-term/src/application.rs +++ b/helix-term/src/application.rs @@ -216,21 +216,15 @@ impl Application { } fn render(&mut self) { - #[cfg(feature = "integration")] - return; - - #[allow(unreachable_code)] - { - let compositor = &mut self.compositor; + let compositor = &mut self.compositor; - let mut cx = crate::compositor::Context { - editor: &mut self.editor, - jobs: &mut self.jobs, - scroll: None, - }; + let mut cx = crate::compositor::Context { + editor: &mut self.editor, + jobs: &mut self.jobs, + scroll: None, + }; - compositor.render(&mut cx); - } + compositor.render(&mut cx); } pub async fn event_loop<S>(&mut self, input_stream: &mut S) |