aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/application.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term/src/application.rs')
-rw-r--r--helix-term/src/application.rs20
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)