aboutsummaryrefslogtreecommitdiff
path: root/helix-term
diff options
context:
space:
mode:
authorBlaž Hrastnik2020-09-21 09:25:56 +0000
committerBlaž Hrastnik2020-09-21 09:25:56 +0000
commit2c3b10dbb0f270bc83169d28e4ed665557be70ca (patch)
treec91d05f2b00e0e6ded6321abf8c71ee1f97edc10 /helix-term
parent935cfeae576f734e6cbd455bfa39df014700ae86 (diff)
Sync up view size to terminal size for now.
Diffstat (limited to 'helix-term')
-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()
};