diff options
author | Blaž Hrastnik | 2020-09-21 09:25:56 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2020-09-21 09:25:56 +0000 |
commit | 2c3b10dbb0f270bc83169d28e4ed665557be70ca (patch) | |
tree | c91d05f2b00e0e6ded6321abf8c71ee1f97edc10 /helix-term/src | |
parent | 935cfeae576f734e6cbd455bfa39df014700ae86 (diff) |
Sync up view size to terminal size for now.
Diffstat (limited to 'helix-term/src')
-rw-r--r-- | helix-term/src/editor.rs | 1 |
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() }; |