From 2c3b10dbb0f270bc83169d28e4ed665557be70ca Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Mon, 21 Sep 2020 18:25:56 +0900 Subject: Sync up view size to terminal size for now. --- helix-term/src/editor.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'helix-term') 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() }; -- cgit v1.2.3-70-g09d2