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.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs
index afbf1f6b..583d8fc8 100644
--- a/helix-term/src/application.rs
+++ b/helix-term/src/application.rs
@@ -60,7 +60,11 @@ impl Application {
let editor = &mut self.editor;
let compositor = &mut self.compositor;
- let mut cx = crate::compositor::Context { editor, executor };
+ let mut cx = crate::compositor::Context {
+ editor,
+ executor,
+ scroll: None,
+ };
compositor.render(&mut cx);
}
@@ -91,6 +95,7 @@ impl Application {
let mut cx = crate::compositor::Context {
editor: &mut self.editor,
executor: &self.executor,
+ scroll: None,
};
// Handle key events
let should_redraw = match event {