aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term/src')
-rw-r--r--helix-term/src/editor.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-term/src/editor.rs b/helix-term/src/editor.rs
index e29e7ee8..790c3f16 100644
--- a/helix-term/src/editor.rs
+++ b/helix-term/src/editor.rs
@@ -278,6 +278,7 @@ impl Editor {
// TODO: simplistic ensure cursor in view for now
if let Some(view) = &mut self.view {
+ view.size = self.size;
view.ensure_cursor_in_view()
};